Part Number Hot Search : 
PLR131 705MN CSP1027 KBPC3502 90130 09CC0W MBZ5234B D27C4001
Product Description
Full Text Search
 

To Download ADT7476AARQZ-RL7 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? semiconductor components industries, llc, 2010 may, 2010 ? rev. 3 1 publication order number: adt7476a/d adt7476a dbcool  remote thermal controller and voltage monitor the adt7476a dbcool controller is a thermal monitor and multiple pwm fan controller for noise-sensitive or power-sensitive applications requiring active system cooling. the adt7476a can drive a fan using either a low or high frequency drive signal and can monitor the temperature of up to two remote sensor diodes plus its own internal temperature. the part also measures and controls the speed of up to four fans, so the fans operate at the lowest possible speed for minimum acoustic noise. the automatic fan speed control loop optimizes fan speed for a given temperature. the effectiveness of the system?s thermal solution can be monitored using the therm input. the adt7476a also provides critical thermal protection to the system using the bidirectional therm pin as an output to prevent system or component overheating. features ? monitors up to five voltages ? improved tach and pwm performance ? controls and monitors up to four fans ? high and low frequency fan drive signal ? one on-chip and two remote temperature sensors ? extended temperature measurement range up to 191 c ? automatic fan speed control mode controls system cooling based on measured temperature ? enhanced acoustic mode dramatically reduces user perception of changing fan speeds ? thermal protection feature via therm output ? monitors performance impact of intel ? pentium ? 4 processor ? thermal control circuit via therm input ? 3-wire and 4-wire fan speed measurement ? limit comparison of all monitored values ? 5.0 v support on all tach and pwm channels ? meets smbus 2.0 electrical specifications ? these are pb ? free devices http://onsemi.com pin assignment qsop ? 24 nb case 492b see detailed ordering and shipping information in the package dimensions section on page 66 of this data sheet. ordering information marking diagrams +2.5v in /therm pwm2/ smbalert pwm3/addren 1 2 3 4 5 6 7 8 20 21 22 23 24 19 18 17 14 13 12 11 scl gnd v cc vid2/gpio2 vid1/gpio1 vid0/gpio0 sda v ccp +12v in /vid5 d1+ vid4/gpio4 +5v in vid3/gpio3 tach3 tach2 tach1 d1- d2+ d2- pwm1/xto adt7476a tach4/therm/smbalert/ gpio6/addr select 9 10 16 15 xx = specific device code # = pb ? free package yyww = date code xxxx = assembly lot code adt7476aarqz #yyww xxxx
adt7476a http://onsemi.com 2 figure 1. functional block diagram acoustic enhancement control band gap reference 10 ? bit adc interrupt masking pwm configuration registers address pointer register value and limit registers limit comparators interrupt status registers input signal conditioning and analog multiplexer v cc to adt7476a v cc d1+ d1? d2+ d2? +5v in +12v in +2.5v in v ccp vid/gpio register vid5/gpio5 vid4/gpio4 vid3/gpio3 vid2/gpio2 vid1/gpio1 vid0/gpio0 gpio6 serial bus interface scl sda smbalert smbus address selection addr select addren gnd pwm1 pwm2 pwm3 pwm registers and controllers (hf and lf) automatic fan speed control tach1 tach2 tach3 tach4 fan speed counter thermal protection performance monitoring therm band gap temp. sensor adt7476a
adt7476a http://onsemi.com 3 absolute maximum ratings parameter rating unit positive supply voltage (v cc ) 3.6 v maximum voltage on +12 v in pin 16 v maximum voltage on +5.0 v in pin 6.25 v maximum voltage on sda, scl, therm (pin 22) and gpio1 ? 5 pins 3.6 v maximum voltage on all tach and pwm pins +5.5 v voltage on remaining input or output pins ? 0.3 to +4.2 v input current at any pin 5 ma package input current 20 ma maximum junction temperature (t j max ) 150 c storage temperature range ? 65 to +150 c lead temperature, soldering ir reflow peak temperature pb ? free peak temperature lead temperature (soldering, 10 sec) 220 260 300 c esd rating 1500 v stresses exceeding maximum ratings may damage the device. maximum ratings are stress ratings only. functional operation above t he recommended operating conditions is not implied. extended exposure to stresses above the recommended operating conditions may af fect device reliability. note: this device is esd sensitive. use standard esd precautions when handling. thermal characteristics package type  ja (note 1)  jc unit 24 ? lead qsop 122 31.25 c/w 1. ja is specified for the worst-case conditions, that is, a device soldered in a circuit board for surface-mount packages. figure 2. smbus bus timing scl sda ps sp t buf t hd; sta t hd; dat t su; dat t f t r t low t su; sta t high t hd; sta t su; sto
adt7476a http://onsemi.com 4 electrical characteristics t a = t min to t max , v cc = v min to v max , unless otherwise noted. (note 1) parameter conditions min typ max unit power supply supply voltage 3.0 3.3 3.6 v supply current, i cc interface inactive, adc active 1.5 3.0 ma temperature ? to ? digital converter local sensor accuracy resolution 0 c t a 85 c ? 40 c t a 125 c 0.5 0.25 1.5 2.5 c remote diode sensor accuracy resolution 0 c t a 85 c ? 40 c t a 125 c 0.5 0.25 1.5 2.5 c remote sensor source current low level high level 11 180  a analog ? to ? digital converter (including mux and attentuators) total unadjusted error (tue) for 12 v channel for all other channels 2 1.5 % differential non ? linearity (dnl) 8 bits 1 lsb power supply sensitivity 0.1 %/v conversion time voltage input local temperature remote temperature averaging enabled 11 12 38 ms total monitoring cycle time averaging enabled averaging disabled 145 19 ms input resistance for v ccp channel for all other channels 70 70 200 114 k  fan rpm ? to ? digital converter accuracy 0 c t a 70 c ? 40 c t a +120 c 6 10 % full ? scale count 65,535 nominal input rpm fan count = 0xbfff fan count = 0x3fff fan count = 0x0438 fan count = 0x021c 109 329 5000 10,000 rpm open ? drain digital outputs, pwm1 to pwm3, xto current sink, i ol 8.0 ma output low voltage, v ol i out = ? 8.0 ma 0.4 v high level output current, i oh v out = v cc 0.1 20  a open ? drain serial data bus output (sda) output low voltage, v ol i out = ? 4.0 ma 0.4 v high level output current, i oh v out = v cc 0.1 1.0  a smbus digital inputs (scl, sda) (note 2) input high voltage, v ih 2.0 v input low voltage, v il 0.8 v hysteresis 500 mv digital input logic levels (tach inputs) input high voltage, v ih maximum input voltage 2.0 5.5 v input low voltage, v il minimum input voltage ? 0.3 0.8 v hysteresis 0.5 v p ? p
adt7476a http://onsemi.com 5 electrical characteristics t a = t min to t max , v cc = v min to v max , unless otherwise noted. (note 1) parameter unit max typ min conditions digital input logic levels (therm ) adtl+ input high voltage, v ih 0.75 x v ccp v input low voltage, v il 0.8 v digital input current input high current, i ih v in = v cc 1  a input low current, i il v in = 0 1  a input capacitance, c in 5.0 pf serial bus timing (see figure 2) clock frequency, f sclk 10 400 khz glitch immunity, t sw 50 ns bus free time, t buf 4.7  s scl low time, t low 4.7  s scl high time, t high 4.0 50  s scl, sda rise time, t r 1000 ns scl, sda fall time, t f 300  s data setup time, t su;dat 250 ns detect clock low timeout, t timeout can be optionally disabled 15 35 ms 1. all voltages are measured with respect to gnd, unless otherwise specified. typical voltages are t a = 25 c and represent a parametric norm. logic inputs accept input high voltages up to v max , even when the device is operating down to v min . timing specifications are tested at logic levels of v il = 0.8 v for a falling edge, and v ih = 2.0 v for a rising edge. 2. smbus timing specifications are guaranteed by design and are not production tested.
adt7476a http://onsemi.com 6 pin assignment pin no. mnemonic description 1 sda digital i/o (open drain). smbus bidirectional serial data. requires smbus pullup. 2 scl digital input (open drain). smbus serial clock input. requires smbus pullup. 3 gnd ground pin. 4 v cc power supply. powered by 3.3 v standby, if monitoring in low power states is required. v cc is also monitored through this pin. 5 vid0/ digital input. voltage supply readouts from cpu. this value is read into the vid/gpio register (0x43). gpio0 general-purpose open drain digital i/o. 6 vid1/ digital input. voltage supply readouts from cpu. this value is read into the vid/gpio register (0x43). gpio1 general-purpose open drain digital i/o. 7 vid2/ digital input. voltage supply readouts from cpu. this value is read into the vid/gpio register (0x43). gpio2 general-purpose open drain digital i/o. 8 vid3/ gpio3 digital input. voltage supply readouts from cpu. this value is read into the vid/gpio register (0x43). general-purpose open drain digital i/o. 9 tach3 digital input (open drain). fan tachometer input to measure speed of fan 3. 10 pwm2/ smbalert digital output (open drain). requires 10 k  typical pullup. pulse width modulated output to control fan 2 speed. can be configured as a high or low frequency drive. digital output (open drain). this pin can be reconfigured as an smbalert interrupt output to signal out-of-limit conditions. 11 tach1 digital input (open drain). fan tachometer input to measure speed of fan 1. 12 tach2 digital input (open drain). fan tachometer input to measure speed of fan 2. 13 pwm3 addren digital i/o (open drain). pulse width modulated output to control the speed of fan 3 and fan 4. requires 10 k  typical pullup. can be configured as a high or low frequency drive. if pulled low on powerup, the adt7476a enters address select mode, and the state of pin 14 (addr select ) determines the adt7476a?s slave address. 14 tach4/ digital input (open drain). fan tachometer input to measure speed of fan 4. therm / smbalert / gpio6/ addr select alternatively, the pin can be reconfigured as a bidirectional therm pin. times and monitors assertions on the therm input. for example, it can be connected to the prochot output of intel?s pentium 4 processor or to the output of a trip point temperature sensor. can be used as an output to signal overtemperature conditions. digital output (open drain). this pin can be reconfigured as an smbalert interrupt output to signal out-of-limit conditions. general-purpose open drain digital i/o. if in address select mode, the logic state of this pin defines the smbus device address. 15 d2? cathode connection to second thermal diode. 16 d2+ anode connection to second thermal diode. 17 d1? cathode connection to first thermal diode. 18 d1+ anode connection to first thermal diode. 19 vid4/ digital input. voltage supply readouts from cpu. this value is read into the vid/gpio register (0x43). gpio4 general-purpose open drain digital i/o. 20 +5.0 v in analog input. monitors 5.0 v power supply. 21 +12 v in / vid5 analog input. monitors 12 v power supply. digital input. voltage supply readouts from cpu. this value is read into the vid/gpio register (0x43). 22 +2.5 v in / therm analog input. monitors 2.5 v supply, typically a chipset voltage. alternatively, this pin can be reconfigured as a bidirectional/omnidirectional therm pin. can be used to time and monitor assertions on the therm input. for example, can be connected to the prochot output of intel?s pentium 4 processor or to the output of a trip point temperature sensor. can be used as an output to signal overtemperature conditions. 23 v ccp analog input. monitors processor core voltage (0 v to 3 v). 24 pwm1/ xto digital output (open drain). pulse width modulated output to control the speed of fan 1. requires 10 k  typical pullup. also functions as the output from the xor tree in xor test mode.
adt7476a http://onsemi.com 7 typical characteristics figure 3. temperature error vs. capacitance between d+ and d ? figure 4. remote temperature error vs. pcb resistance figure 5. remote temperature error vs. common-mode noise frequency figure 6. remote temperature error vs. differential-mode noise frequency figure 7. normal i dd vs. power supply figure 8. internal temperature error vs. power su pp l y noise fre q uenc y 0 ?10 ?20 ?30 ?40 ?50 ?60 024681012 capacitance (nf) temperature error (  c) 14 16 18 20 22 30 20 10 0 ?10 ?20 ?30 0204060 leakage resistance (m ) temperature error (  c) 80 100 ?40 d+ to v cc d+ to gnd  30 25 20 15 10 5 0 ?5 0 100m 200m 300m 400m 500m 600m noise frequency (hz) temperature error (  c) 100mv 60mv 40mv 70 60 50 40 30 20 0 10 0 100m 200m 300m 400m 500m 600m noise frequency (hz) temperature error (  c) 40mv ?10 60mv 100mv 1.20 1.18 1.16 1.14 1.12 1.10 1.08 1.06 3.0 3.1 3.2 3.3 3.4 v dd (v) i dd (ma) 1.04 1.02 3.5 3.6 1.00 0.98 100mv 250mv 15 10 5 0 ?5 ?10 ?15 0 100m 200m 300m 400m 500m 600m frequency (hz) temperature error (  c)
adt7476a http://onsemi.com 8 typical characteristics figure 9. remote temperature error vs. power supply noise frequency figure 10. internal temperature error vs. adt7476a temperature figure 11. remote temperature error vs. adt7476a temperature 6 4 2 0 ?2 ?4 ?6 0 100m 200m 300m frequency (hz) temperature error (  c) 400m 500m 600m ?8 ?10 ?12 100mv 250mv 3.0 2.5 2.0 1.5 1.0 0.5 0 ?0.5 ?40 ?20 0 20 40 60 85 oil bath temperature (  c) temperature error (  c) ?1.0 ?1.5 105 125 ?2.0 3.0 2.5 2.0 1.5 1.0 0.5 ?40 ?20 0 20 40 60 85 oil bath temperature (  c) temperature error (  c) 105 125 0 ?0.5 ?1.0 ?1.5 figure 12. therm input threshold vs. v ccp voltage v ccp (v) trip point (v) 2.5 v applied to 2.5 v pin 1.2 1.0 0.8 0.6 0.4 0.2 0 1.4 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0
adt7476a http://onsemi.com 9 product description the adt7476a is a complete thermal monitor and multiple fan controller for any system requiring thermal monitoring and cooling. the device communicates with the system via a serial system management bus. the serial bus controller has a serial data line for reading and writing addresses and data (pin 1), and an input line for the serial clock (pin 2). all control and programming functions for the adt7476a are performed over the serial bus. in addition, a pin can be reconfigured as an smbalert output to signal out-of-limit conditions. feature comparisons between adt7476a and adt7468 ? dynamic t min , dynamic operating point, and associated registers are no longer available in the adt7476a. the following related registers are gone: ? calibration control 1 (0x36) ? calibration control 2 (0x37) ? operating point (0x33, 0x34, and 0x35) ? previously (in the adt7468), t range defined the slope of the automatic fan control algorithm. t range now defines a true temperature range (in the adt7476a). ? acoustic filtering is now assigned to temperature zones, not to fans. available smoothing times have been increased for better acoustic performance. ? temperature measurements are now made with two switching currents instead of three. src is not available in the adt7476a. ? high frequency pwm can now be enabled/disabled on each pwm output individually. ? therm can now be enabled/disabled on each temperature channel individually. ? the adt7476a does not support full shutdown mode. ? the adt7476a offers increased temperature accuracy on all temperature channels. ? the adt7476a defaults to twos complement temperature measurement mode. ? some pins have swapped/added functions. ? the powerup routine for the adt7476a is simplified. ? the adt7476a has a higher maximum input voltage tach/pwm spec, supporting a wider range of fans. ? v core_low_enable has been reallocated to bit 7 of configuration register 1 (0x40). recommended implementation configuring the adt7476a as shown in figure 13 allows the system designer to use the following features: ? two pwm outputs for fan control of up to three fans (the front and rear chassis fans are connected in parallel). ? three tach fan speed measurement inputs. ? v cc measured internally through pin 4. ? cpu temperature measured using remote 1 temperature channel. ? remote temperature zone measured through remote 2 temperature channel. ? local temperature zone measured through the internal temperature channel. ? bidirectional therm pin. this feature allows intel pentium 4 prochot monitoring and can function as an overtemperature therm output. it can alternatively be programmed as an smbalert system interrupt output. figure 13. adt7476a configuration tach2 pwm3 tach3 d1+ d1? v cc +5v in +12v in /vid5 gnd adt7476a scl sda d2+ d2? tach1 vid[0:4]/vid[0:5] pwm1 ambient temperature smbalert therm 5(vrm9)/6(vrm10) prochot front chassis fan rear chassis fan
adt7476a http://onsemi.com 10 serial bus interface control of the adt7476a is carried out using the serial system management bus (smbus). the adt7476a is connected to this bus as a slave device, under the control of a master controller. the adt7476a has a 7-bit serial bus address. when the device is powered up with pin 13 (pwm3/addren ) high, the adt7476a has a default smbus address of 0101110 or 0x2e. the read/write bit must be added to get the 8-bit address. if more than one adt7476a is to be used in a system, each adt7476a is placed in addr select mode by strapping pin 13 low on powerup. the logic state of pin 14 then determines the device?s smbus address. the logic of these pins is sampled on powerup. the device address is sampled on powerup and latched on the first valid smbus transaction, more precisely on the low-to-high transition at the beginning of the eighth scl pulse, when the serial bus address byte matches the selected slave address. the selected slave address is chos en using the addren pin/addr select pin. any attempted changes in the address have no effect after this. table 1. hardwiring the adt7476a smbus device address pin 13 state pin 14 state address 0 low (10 k  to gnd) 0101100 (0x2c) 0 high (10 k  pullup) 0101101 (0x2d) 1 don?t care 0101110 (0x2e) figure 14. default smbus address = 0x2e adt7476a 14 address = 0x2e v cc addr select 13 pwm3/addren 10k  figure 15. smbus address = 0x2c (pin 14 = 0) adt7476a 14 address = 0x2c 13 10k addr select pwm3/addren  fi g ure 16. smbus address = 0x2d ( pin 14 = 1 ) adt7476a 14 address = 0x2d 13 v cc 10k addr select pwm3/addren  figure 17. unpredictable smbus address if pin 13 is unconnected do not leave addren unconnected! can cause unpredictable addresses. adt7476a 14 13 nc v cc 10k care should be taken to ensure that pin 13 (pwm3/addren) is either tied high or low. leaving pin 13 floating could cause the adt7476a to power up with an unexpected address. note that if the adt7476a is placed into addr select mode, pins 13 and 14 cannot be used as the alternative functions (pwm3, tach4/therm) unless the correct circuit is muxed in at the correct time or designed to handle these dual functions. addr select pwm3/addren  the ability to make hardwired changes to the smbus slave address allows the user to avoid conflicts with other devices sharing the same serial bus, for example, if more than one adt7476a is used in a system. the serial bus protocol operates as follows: 1. the master initiates data transfer by establishing a start condition, which is defined as a high-to-low transition on the serial data line sda while the serial clock line scl remains high. this indicates that an address/data stream follows. all slave peripherals connected to the serial bus respond to the start condition and shift in the next eight bits, consisting of a 7-bit address (msb first), plus a r/w bit, which determine the direction of the data transfer, that is, whether data is written to or read from the slave device. the peripheral whose address corresponds to the transmitted address responds by pulling the data line low during the low period before the ninth clock pulse, known as the acknowledge bit. all other devices on the bus now remain idle while the selected device waits for data to be read from or written to it. if the r/w bit is a 0, the master writes to the slave device. if the r/w bit is a 1, the master reads from the slave device. 2. data is sent over the serial bus in sequences of nine clock pulses, eight bits of data followed by an acknowledge bit from the slave device. transitions on the data line must occur during the low period of the clock signal and remain stable during the high period. a low-to-high transition, when the clock is high, can be interpreted as a stop signal. the number of data bytes transmitted over the serial bus in a single read or write operation is limited only by what the master and slave devices can handle. 3. when all data bytes have been read or written, stop conditions are established. in write mode, the master pulls the data line high during the 10 th
adt7476a http://onsemi.com 11 clock pulse to assert a stop condition. in read mode, the master device overrides the acknowledge bit by pulling the data line high during the low period before the ninth clock pulse. this is known as no acknowledge. the master then takes the data line low during the low period before the 10 th clock pulse, and then high during the 10 th clock pulse to assert a stop condition. any number of bytes of data can be transferred over the serial bus in one operation. however, it is not possible to mix read and write in one operation because the type of operation is determined at the beginning and cannot subsequently be changed without starting a new operation. in the adt7476a, write operations contain either one or two bytes, and read operations contain one byte. to write data to one of the device data registers or read data from it, the address pointer register must be set so the correct data register is addressed. then, data can be written into that register or read from it. the first byte of a write operation always contains an address stored in the address pointer register. if data is to be written to the device, then the write operation contains a second data byte that is written to the register selected by the address pointer register. this write operation is illustrated in figure 18. the device address is sent over the bus, and then r/w is set to 0. this is followed by two data bytes. the first data byte is the address of the internal data register to be written to, which is stored in the address pointer register. the second data byte is the data to be written to the internal data register. when reading data from a register, there are two possibilities: 1. if the adt7476a?s address pointer register value is unknown, or not the desired value, then it must first be set to the correct value before data can be read from the desired data register. this is done by performing a write to the adt7476a as before, but only the data byte containing the register address is sent, because no data is written to the register (see figure 19). a read operation is then performed consisting of the serial bus address; r/w bit set to 1, followed by the data byte read from the data register (see figure 20.) 2. if the address pointer register is already known to be at the desired address, data can be read from the corresponding data register without first writing to the address pointer register (see figure 20). it is possible to read a data byte from a data register without first writing to the address pointer register, if the address pointer register is already at the correct value. however, it is not possible to write data to a register without writing to the address pointer register, because the first data byte of a write is always written to the address pointer register. in addition to supporting the send byte and receive byte protocols, the adt7476a also supports the read byte protocol. see intel?s system management bus specifications revision 2 for more information. if several read or write operations must be performed in succession, the master can send a repeat start condition instead of a stop condition to begin a new operation. figure 18. writing a register address to the address pointer register, then writing data to the selected register r/w 0 scl sda 1 0 1 1 a1 a0 d7 d6 d5 d4 d3 d2 d1 d0 ack. by adt7476a start by master 19 1 ack. by adt7476a 9 d7 d6 d5 d4 d3 d2 d1 d0 ack. by adt7476a stop by master 1 9 scl (continued) sda (continued) frame 1 serial bus address byte frame 2 address pointer register byte frame 3 data byte figure 19. writing to the address pointer register only r/w 0 scl sda 10 1 1 a1 a0 d7 d6 d5 d4 d3 d2 d1 d0 ack. by adt7476a stop b y master start by master frame 1 serial bus address byte frame 2 address pointer register byte 1 1 9 ack. by adt7476a 9
adt7476a http://onsemi.com 12 figure 20. reading data from a previously selected register r/w 0 scl sda 10 1 1 a1 a0 d7 d6 d5 d4 d3 d2 d1 d0 no ack. by master stop b y master start by master frame 1 serial bus address byte frame 2 data byte from adt7476a 1 1 9 ack. by adt7476a 9 write operations the smbus specification defines several protocols for different types of read and write operations. the ones used in the adt7476a are discussed below. the following abbreviations are used in the diagrams: ? s ? start ? p ? stop ? r ? read ? w ? write ? a ? acknowledge ? a ? no acknowledge the adt7476a uses the following smbus write protocols. send byte in this operation, the master device sends a single command byte to a slave device, as follows: 1. the master device asserts a start condition on sda. 2. the master sends the 7-bit slave address followed by the write bit (low). 3. the addressed slave device asserts ack on sda. 4. the master sends a command code. 5. the slave asserts ack on sda. 6. the master asserts a stop condition on sda, and the transaction ends. for the adt7476a, the send byte protocol is used to write a register address to ram for a subsequent single-byte read from the same address. this operation is illustrated in figure 21. figure 21. setting a register address for subsequent read slave address wa sap register address 23 156 4 if the master is required to read data from the register immediately after setting up the address, it can assert a repeat start condition immediately after the final ack and carry out a single byte read without asserting an intermediate stop condition. write byte in this operation, the master device sends a command byte and one data byte to the slave device, as follows: 1. the master device asserts a start condition on sda. 2. the master sends the 7-bit slave address followed by the write bit (low). 3. the addressed slave device asserts ack on sda. 4. the master sends a command code. 5. the slave asserts ack on sda. 6. the master sends a data byte. 7. the slave asserts ack on sda. 8. the master asserts a stop condition on sda, and the transaction ends. this operation is illustrated in figure 22. figure 22. single-byte write to a register slave address wa data saap register address 23 15678 4 read operations the adt7476a uses the following smbus read protocols. receive byte this operation is useful when repeatedly reading a single register. the register address is set up beforehand. in this operation, the master device receives a single byte from a slave device, as follows: 1. the master device asserts a start condition on sda. 2. the master sends the 7-bit slave address followed by the read bit (high). 3. the addressed slave device asserts ack on sda. 4. the master receives a data byte. 5. the master asserts no ack on sda. 6. the master asserts a stop condition on sda, and the transaction ends. in the adt7476a, the receive byte protocol is used to read a single byte of data from a register whose address has previously been set by a send byte or write byte operation. this operation is illustrated in figure 23. figure 23. single-byte read from a register slave address data a r sap 24 3 156 alert response address alert response address (ara) is a feature of smbus devices, allowing an interrupting device to identify itself to the host when multiple devices exist on the same bus.
adt7476a http://onsemi.com 13 the smbalert output can be used as either an interrupt output or an smbalert . one or more outputs can be connected to a common smbalert line connected to the master. if a device?s smbalert line goes low, the following procedure occurs: 1. smbalert is pulled low. 2. the master initiates a read operation and sends the alert response address (ara = 0001 100). this is a general call address that must not be used as a specific device address. 3. the device whose smbalert output is low responds to the alert response address, and the master reads its device address. the address of this device is now known and can be interrogated per usual. 4. if more than one device?s smbalert output is low, the one with the lowest device address has priority in accordance with normal smbus arbitration. 5. once the adt7476a responds to the alert response address, the master must read the status registers, and smbalert is cleared only if the error condition goes away. smbus timeout the adt7476a includes an smbus timeout feature. if there is no smbus activity for 35 ms, the adt7476a assumes the bus is locked and releases the bus. this prevents the device from locking or holding the smbus expecting data. some smbus controllers cannot handle the smbus timeout feature, so if necessary, it can be disabled. configuration register 1 (0x40) [6] todis = 0, smbus timeout enabled (default). [6] todis = 1, smbus timeout disabled. virus protection to prevent rogue programs or viruses from accessing critical adt7476a register settings, the lock bit can be set. setting bit 1 of configuration register 1 (0x40) sets the lock bit and locks critical registers. in this mode, certain registers can no longer be written to until the adt7476a is powered down and powered up again. for more information on which registers are locked see table 14. voltage measurement input the adt7476a has four external voltage measurement channels. it can also measure its own supply voltage, v cc . pin 20 to pin 23 can measure 5.0 v, 12 v, and 2.5 v supplies, and the processor core voltage v ccp (0 v to 3 v input). the v cc supply voltage measurement is carried out through the v cc pin (pin 4). the 2.5 v input can be used to monitor a chipset supply voltage in computer systems. analog-to-digital converter all analog inputs are multiplexed into the on-chip, successive-approximation, analog-to-digital converter, which has a resolution of 10 bits. the basic input range is 0 v to 2.25 v, but the inputs have built-in attenuators to allow measurement of 2.5 v, 3.3 v, 5.0 v, 12 v, and the processor core voltage v ccp without any external components. to allow the tolerance of these supply voltages, the adc produces an output of 3/4 full scale (768 dec or 300 hex) for the nominal input voltage, giving it adequate headroom to cope with overvoltages. input circuitry the internal structure for the analog inputs is shown in figure 24 the input circuit consists of an input protection diode, an attenuator, plus a capacitor to form a first-order low-pass filter that gives input immunity to high frequency noise. figure 24. structure of analog inputs v ccp 17.5k? 52.5k? 35pf 2.5v in 45k? 94k? 30pf v cc 68k? 71k? 30pf 5v in 93k? 47k? 30pf 12v in 120k? 20k? 30pf mux voltage measurement registers register 0x20, 2.5 v reading = 0x00 default register 0x21, v ccp reading = 0x00 default register 0x22, v cc reading = 0x00 default register 0x23, 5.0 v reading = 0x00 default register 0x24, 12 v reading = 0x00 default voltage limit registers associated with each voltage measurement channel is a high and low limit register. exceeding the programmed high or low limit causes the appropriate status bit to be set. exceeding either limit can also generate smbalert interrupts. register 0x44, 2.5 v low limit = 0x00 default register 0x45, 2.5 v high limit = 0xff default register 0x46, v ccp low limit = 0x00 default register 0x47, v ccp high limit = 0xff default register 0x48, v cc low limit = 0x00 default register 0x49, v cc high limit = 0xff default register 0x4a, 5.0 v low limit = 0x00 default register 0x4b, 5.0 v high limit = 0xff default register 0x4c, 12 v low limit = 0x00 default register 0x4d, 12 v high limit = 0xff default
adt7476a http://onsemi.com 14 table 5 shows the input ranges of the analog inputs and output codes of the 10-bit adc. when the adc is running, it samples and converts a voltage input in 0.7 ms and averages 16 conversions to reduce noise; a measurement takes nominally 11 ms. extended resolution registers voltage measurements can be made with higher accuracy using the extended resolution registers (0x76 and 0x77). whenever the extended resolution registers are read, the corresponding data in the voltage measurement registers (0x20 to 0x24) is locked until their data is read. that is, if extended resolution is required, then the extended resolution register must be read first, immediately followed by the appropriate voltage measurement register. additional adc functions for voltage measurements a number of other functions are available on the adt7476a to offer the system designer increased flexibility. turn-off averaging for each voltage/temperature measurement read from a value register, 16 readings have been made internally and the results averaged before being placed into the value register. when faster conversions are needed, setting bit 4 of configuration register 2 (0x73) turns averaging off. this effectively gives a reading 16 times faster but the reading can be noisier. the default round robin cycle time takes 146.5 ms. table 2. conversion time with averaging disabled channel measurement time (ms) voltage channels 0.7 remote temperature 1 7 remote temperature 2 7 local temperature 1.3 when bit 7 of configuration register 6 (0x10) is set, the default round robin cycle time increases to 240 ms. bypass all voltage input attenuators setting bit 5 of configuration register 2 (0x73) removes the attenuation circuitry from the 2.5 v, v ccp , v cc , 5.0 v, and 12 v inputs. this allows the user to directly connect external sensors or rescale the analog voltage measurement inputs for other applications. the input range of the adc without the attenuators is 0 v to 2.25 v. bypass individual voltage input attenuators bits [7:4] of configuration register 4 (0x7d) can be used to bypass individual voltage channel attenuators. table 3. bypassing individual voltage input attenuators configuration register 4 (0x7d) bit no. channel attenuated 4 bypass 2.5 v attenuator 5 bypass v ccp attenuator 6 bypass 5.0 v attenuator 7 bypass 12 v attenuator configuration register 2 (0x73) [4] = 1, averaging off. [5] = 1, bypass input attenuators. [6] = 1, single-channel convert mode. tach1 minimum high byte (0x55) [7:5] selects adc channel for single-channel convert mode. single-channel adc conversion while single-channel mode is intended as a test mode that can be used to increase sampling times for a specific channel, and therefore helps to analyze that channel?s performance in greater detail, it can also have other applications. setting bit 6 of configuration register 2 (0x73) places the adt7476a into single-channel adc conversion mode. in this mode, the adt7476a can only read a single voltage channel. the selected voltage input is read every 0.7 ms. the appropriate adc channel is selected by writing to bits [7:5] of the tach1 minimum high byte register (0x55). table 4. programming single ? channel adc mode bits [7:4], register 0x55 channel selected (note 1) 000 2.5 v 001 v ccp 010 v cc 011 5.0 v 100 12 v 101 remote 1 temperature 110 local temperature 111 remote 2 temperature 1. in the process of configuring single-channel adc conversion mode, the t ach1 minimum high byte is also changed, possibly trading off tach1 minimum high byte functionality with single-channel mode functionality.
adt7476a http://onsemi.com 15 table 5. 10 ? bit adc output code vs. v in input voltage adc output 12 v in 5.0 v in v cc (3.3 v in ) 2.5 v in v ccp v tt /i mon decimal binary (10 bits) <0.0156 <0.0065 <0.0042 <0.0032 <0.00293 <0.00220 0 00000000 00 0.0156 to 0.0312 0.0065 to 0.0130 0.0042 to 0.0085 0.0032 to 0.0065 0.0293 to 0.0058 0.00220 to 0.00440 1 00000000 01 0.0312 to 0.0469 0.0130 to 0.0195 0.0085 to 0.0128 0.0065 to 0.0097 0.0058 to 0.0087 0.00440 to 0,00660 2 00000000 10 0.0469 to 0.0625 0.0195 to 0.0260 0.0128 to 0.0171 0.0097 to 0.0130 0.0087 to 0.0117 0,00660 to 0.00881 3 00000000 11 0.0625 to 0.0781 0.0260 to 0.0325 0.0171 to 0.0214 0.0130 to 0.0162 0.0117 to 0.0146 0.00881 to 0.01100 4 00000001 00 0.0781 to 0.0937 0.0325 to 0.0390 0.0214 to 0.0257 0.0162 to 0.0195 0.0146 to 0.0175 0.01100 to 0.01320 5 00000001 01 0.0937 to 0.1093 0.0390 to 0.0455 0.0257 to 0.0300 0.0195 to 0.0227 0.0175 to 0.0205 0.01320 to 0.01541 6 00000001 10 0.1093 to 0.1250 0.0455 to 0.0521 0.0300 to 0.0343 0.0227 to 0.0260 0.0205 to 0.0234 0.01541 to 0.01761 7 00000001 11 0.1250 to 0.14060 0.0521 to 0.0586 0.0343 to 0.0386 0.0260 to 0.0292 0.0234 to 0.0263 0.01761 to 0.01981 8 00000010 00 ? ? ? ? ? ? ? ? 4.0000 to 4.0156 1.6675 to 1.6740 1.1000 to 1.1042 0.8325 to 0.8357 0.7500 to 0.7529 0.5636 to 0.5658 256 (1/4 scale) 01000000 00 ? ? ? ? ? ? ? ? 8.0000 to 8.0156 3.3300 to 3.3415 2.2000?2.204 2 1.6650 to 1.6682 1.5000 to 1.5029 1.1272 to 1.1294 512 (1/2 scale) 10000000 00 ? ? ? ? ? ? ? ? 12.0000 to 12.0156 5.0025 to 5.0090 3.3000 to 3.3042 2.4975 to 2.5007 2.2500 to 2.2529 1.6809 to 1.6930 768 (3/4 scale) 11000000 00 ? ? ? ? ? ? ? ? 15.8281 to 15.8437 6.5983 to 6.6048 4.3527 to 4.3570 3.2942 to 3.2974 2.9677 to 2.9707 2.2301 to 2.2323 1013 11111 101 01 15.8437 to 15.8593 6.6048 to 6.6113 4.3570 to 4.3613 3.2974 to 3.3007 2.9707 to 2.9736 2.2323 to 2.2346 1014 11111 101 10 15.8593 to 15.8750 6.6113 to 6.6178 4.3613 to 4.3656 3.3007 to 3.3039 2.9736 to 2.9765 2.2346 to 2.2368 1015 11111 101 11 15.8750 to 15.8906 6.6178 to 6.6244 4.3656 to 4.3699 3.3039 to 3.3072 2.9765 to 2.9794 2.2368 to 2.23899 1016 11111110 00 15.8906 to 15.9062 6.6244 to 6.6309 4.3699 to 4.3742 3.3072 to 3.3104 2.9794 to 2.9824 2,23899 to 2.2412 1017 11111110 01 15.9062 to 15.9218 6.6309 to 6.6374 4.3742 to 4.3785 3.3104 to 3.3137 2.9824 to 2.9853 2.2412 to 2.2434 1018 11111110 10 15.9218 to 15.9375 6.6374 to 6.4390 4.3785 to 4.3828 3.3137 to 3.3169 2.9853 to 2.9882 2.2434 to 2.2456 1019 11111110 11 15.9375 to 15.9531 6.6439 to 6.6504 4.3828 to 4.3871 3.3169 to 3.3202 2.9882 to 2.9912 2.2456 to 2.2478 1020 11111111 00 15.9531 to 15.9687 6.6504 to 6.6569 4.3871 to 4.3914 3.3202 to 3.3234 2.9912 to 2.9941 2.2478 to 2.25 1021 11111111 01 15.9687 to 15.9843 6.6569 to 6.6634 4.3914 to 4.3957 3.3234 to 3.3267 2.9941 to 2.9970 2.25 to 2.2522 1022 11111111 10 >15.9843 >6.6634 >4.3957 >3.3267 >2.9970 >2.2522 1023 11111111 11
adt7476a http://onsemi.com 16 vid code monitoring the adt7476a has five dedicated voltage id (vid code) inputs. these are digital inputs that can be read back through the vid/gpio register (0x43) to determine the processor voltage required or the system being used. five vid code inputs support vrm9.x solutions. in addition, pin 21 (12 v input) can be reconfigured as a sixth vid input to satisfy future vrm requirements. vid/gpio register (0x43) [0] = vid0, reflects logic state of pin 5. [1] = vid1, reflects logic state of pin 6. [2] = vid2, reflects logic state of pin 7. [3] = vid3, reflects logic state of pin 8. [4] = vid4, reflects logic state of pin 19. [5] = vid5, reconfigurable 12 v input. this bit reads 0 when pin 21 is configured as the 12 v input. this bit reflects the logic state of pin 21 when the pin is configured as vid5. vid code input threshold voltage the switching threshold for the vid code inputs is approximately 1.0 v. to enable future compatibility, it is possible to reduce the vid code input threshold to 0.6 v. bit 6 (thld) of the vid/gpio register (0x43) controls the vid input threshold voltage. vid/gpio register (0x43) [6] thld = 0, vid switching threshold = 1 v, v ol < 0.8 v, v ih > 1.7 v, v max = 3.3 v. [6] thld = 1, vid switching threshold = 0.6 v, v ol < 0.4 v, v ih > 0.8 v, v max = 3.3 v. reconfiguring pin 21 as vid5 input pin 21 can be reconfigured as a sixth vid code input (vid5) for vrm10 compatible systems. because the pin is configured as vid5, it is not possible to monitor a 12 v supply. bit 7 of the vid/gpio register (0x43) determines the function of pin 21. system or bios software can read the state of bit 7 to determine whether the system is designed to monitor 12 v or a sixth vid input. vid/gpio register (0x43) [7] vidsel = 0, pin 21 functions as a 12 v measurement input. software can read this bit to determine that there are five vid inputs being monitored. bit 5 of vid/gpio register (0x43) always reads back 0. bit 0 of interrupt status register 2 (0x42) reflects 12 v out-of-limit measurements. [7] vidsel = 1, pin 21 functions as the sixth vid code input (vid5). software can read this bit to determine that there are six vid inputs being monitored. bit 5 of register 0x43 reflects the logic state of pin 21. bit 0 of interrupt status register 2 (0x42) reflects vid code changes. vid code change detect function the adt7476a has a vid code change detect function. when pin 21 is configured as the vid5 input, vid code changes are detected and reported back by the adt7476a. bit 0 of interrupt status register 2 (0x42) is the 12 v/vc bit and denotes a vid change when set. the vid code change bit is set when the logic states on the vid inputs are dif ferent than they were 11  s previously. the change of vid code is used to generate an smbalert interrupt. if an smbalert interrupt is not required, bit 0 of interrupt mask register 2 (0x75), when set, prevents smbalert s from occurring on vid code changes. interrupt status register 2 (0x42) [0] 12 v/vc = 0, if pin 21 is configured as vid5, logic 0 denotes no change in vid code within the last 11  s. [0] 12 v/vc = 1, if pin 21 is configured as vid5, logic 1 means that a change has occurred on the vid code inputs within the last 11  s. an smbalert is generated, if this function is enabled. programming the gpios the adt7476a follows an upgrade path from the adm1027 to the adt7476a. in order to maintain consistency between versions, it is necessary to omit references to gpio5. as a result, there are six gpios as follows: gpio0, gpio1, gpio2, gpio3, gpio4, and gpio6. setting bit 4 of configuration register 5 (0x7c) to 1 enables gpio functionality. this turns all pins configured as vid inputs into general-purpose outputs. writing to the corresponding vid bit in the vid/gpio register (0x43) sets the polarity for the corresponding gpio. gpio6 can be programmed independently as, for example, an input or output, using bits [3:2] of configuration register 5 (0x7c). temperature measurement method local temperature measurement the adt7476a contains an on-chip band gap temperature sensor whose output is digitized by the on-chip, 10-bit adc. the 8-bit msb temperature data is stored in the temperature registers (addresses 0x25, 0x26, and 0x27). because both positive and negative temperatures can be measured, the temperature data is stored in offset 64 format or twos complement format, as shown in table 6 and table 7. theoretically, the temperature sensor and adc can measure temperatures from ? 63 c to +127 c (or ? 61 c to +191 c in the extended temperature range) with a resolution of 0.25 c. however, this exceeds the operating temperature range of the device, so local temperature measurements outside the adt7476a operating temperature range are not possible.
adt7476a http://onsemi.com 17 table 6. twos complement temperature data format temperature digital output (10 ? bit) (note 1) ?128 c 1000 0000 00 (diode fault) ?50 c 1100 1110 00 ?25 c 1110 0111 00 ?10 c 1111 0110 00 0 c 0000 0000 00 +10.25 c 0000 1010 01 +25.5 c 0001 1001 10 +50.75 c 0011 0010 11 +75 c 0100 1011 00 +100 c 0110 0100 00 +125 c 0111 1101 00 +127 c 0111 1111 00 1. bold numbers denote 2 lsb of measurement in the extended resolution register 2 (0x77) with 0.25 c resolution. table 7. extended range, temperature data format temperature digital output (10 ? bit) (note 1) ?64 c 0000 0000 00 (diode fault) ?1 c 0011 1111 00 0 c 0100 0000 00 1 c 0100 0001 00 10 c 0100 1010 00 25 c 0101 1001 00 50 c 0111 0010 00 75 c 1000 1001 00 100 c 1010 0100 00 125 c 1011 1101 00 191 c 1111 1111 00 1. bold numbers denote 2 lsb of measurement in the extended resolution register 2 (0x77) with 0.25 c resolution. remote temperature measurement the adt7476a can measure the temperature of two remote diode sensors or diode-connected transistors connected to pin 17 and pin 18, or pin 15 and pin 16. the forward voltage of a diode or diode-connected transistor operated at a constant current exhibits a negative temperature coefficient of about ?2 mv/ c. unfortunately, the absolute value of v be varies from device to device, and individual calibration is required to null this out. as a result, this technique is unsuitable for mass production. the technique used in the adt7476a is to measure the change in v be when the device is operated at two dif ferent currents. this is given by: (eq. 1)  v be  kt q  in ( n ) where: k is the boltzmann?s constant. q is the charge on the carrier. t is the absolute temperature in kelvin. n is the ratio of the two currents. figure 25 shows the input signal conditioning used to measure the output of a remote temperature sensor. this figure shows the external sensor as a substrate transistor, which is provided on some microprocessors for temperature monitoring. it could also be a discrete transistor such as a 2n3904/2n3906. figure 25. signal conditioning for remote diode temperture senors d+ bias diode v dd to adc v out+ v out? remote sensing transistor d? thermda thermdc i n i i bias low ? pass filter f c = 65khz cpu if a discrete transistor is used, the collector is not grounded and is linked to the base. if a pnp transistor is used, the base is connected to the d? input and the emitter to the d+ input. if an npn transistor is used, the emitter is connected to the d? input and the base to the d+ input. figure 26 and figure 27 show how to connect the adt7476a to an npn or pnp transistor for temperature measurement. to prevent ground noise from interfering with the measurement, the more negative terminal of the sensor is not referenced to ground, but is biased above ground by an internal diode at the d? input.
adt7476a http://onsemi.com 18 figure 26. measuring temperature using an npn transistor 2n3904 npn adt7476a d+ d? figure 27. measuring temperature using an pnp transistor 2n3906 pnp adt7476a d+ d? to measure  v be , the sensor switches between operating currents of i and n x i. the resulting waveform passes through a 65 khz low-pass filter to remove noise and through a chopper-stabilized amplifier. the amplifier performs the amplification and rectification of the waveform to produce a dc voltage proportional to  v be . this voltage is measured by the adc to give a temperature output in 10-bit, twos complement format. to further reduce the effects of noise, digita l filtering is performed by averaging the results of 16 measurement cycles. a remote temperature measurement takes nominally 38 ms. the results of remote temperature measurements are stored in 10-bit, twos complement format, as illustrated in table 10. the extra resolution for the temperature measurements is held in the extended resolution register 2 (0x77). this gives temperature readings with a resolution of 0.25 c. noise filtering for temperature sensors operating in noisy environments, previous practice placed a capacitor across the d+ pin and the d ? pin to help combat the effects of noise. however, large capacitances affect the accuracy of the temperature measurement, leading to a recommended maximum capacitor value of 1000 pf. this capacitor reduces the noise but does not eliminate it, which makes using the sensor difficult in a very noisy environment. in most cases, a capacitor is not required because differential inputs by their very nature have a high immunity to noise. factors affecting diode accuracy remote sensing diode the adt7476a is designed to work with substrate transistors built into processors or with discrete transistors. substrate transistors are generally pnp types with the collector connected to the substrate. discrete types can be either pnp or npn transistors connected as a diode (base-shorted to the collector). if an npn transistor is used, the collector and base are connected to d+ and the emitter to d ? . if a pnp transistor is used, the collector and base are connected to d ? and the emitter is connected to d+. to reduce the error due to variations in both substrate and discrete transistors, a number of factors should be taken into consideration: ? the ideality factor, n f , of the transistor is a measure of the deviation of the thermal diode from ideal behavior. the adt7476a is trimmed for an n f value of 1.008. use the following equation to calculate the error introduced at a temperature t ( c), when using a transistor whose n f does not equal 1.008 (see the processor?s data sheet for the n f values):  t  ( nf  1.008 )   273.15 k  t  (eq. 2) to factor this in, the user can write the  t value to the offset register. the adt7476a then automatically adds it to or subtracts it from the temperature measurement. ? some cpu manufacturers specify the high and low current levels of the substrate transistors. the high current level of the adt7476a, i high , is 180  a, and the low level current, i low , is 11  a. if the adt7476a current levels do not match the current levels specified by the cpu manufacturer, it could be necessary to remove an offset. the cpu?s data sheet advises whether this offset needs to be removed and how to calculate it. this offset can be programmed to the offset register. it is important to note that if more than one offset must be considered, then the algebraic sum of these offsets must be programmed to the offset register. if a discrete transistor is used with the adt7476a, the best accuracy is obtained by choosing devices according to the following criteria: ? base-emitter voltage greater than 0.25 v at 11  a, at the highest operating temperature. ? base-emitter voltage less than 0.95 v at 180  a, at the lowest operating temperature. ? base resistance less than 100  . ? small variation in the current gain, h fe , (approximately 50 to 150) that indicates tight control of v be characteristics. transistors, such as 2n3904, 2n3906, or equivalents in sot-23 packages, are suitable devices to use. nulling out temperature errors as cpus run faster, it is more difficult to avoid high frequency clocks when routing the d+/d? traces around a system board. even when recommended layout guidelines are followed, some temperature errors can still be attributable to noise coupled onto the d+/d? lines. constant high frequency noise usually attenuates, or increases, temperature measurements by a linear, constant value.
adt7476a http://onsemi.com 19 the adt7476a has temperature offset registers (0x70 and 0x72) for the remote 1 and remote 2 temperature channels. by doing a one-time calibration of the system, the user can determine the offset caused by system board noise and null it out using the offset registers. the offset registers automatically add a twos complement 8-bit reading to every temperature measurement. changing bit 1 of configuration register 5 (0x7c) changes the resolution and therefore, the range of the temperature of fset as either having a ? 63 c to +127 c range with a resolution of 1 c or having a ? 63 c to +64 c range with a resolution of 0.5 c. this temperature offset can be used to compensate for linear temperature errors introduced by noise. temperature offset registers register 0x70, remote 1 temperature offset = 0x00 (0 c default) register 0x71, local temperature offset = 0x00 (0 c default) register 0x72, remote 2 temperature offset = 0x00 (0 c default) adt7463/adt7476a backwards compatible mode by setting bit 0 of configuration register 5 (0x7c), all temperature measurements are stored in the zone temperature reading registers (0x25, 0x26, and 0x27) in twos complement in the ? 63 c to +127 c range. the temperature limits must be reprogrammed in twos complement. if a twos complement temperature below ? 63 c is entered, the temperature is clamped to ? 63 c. in this mode, the diode fault condition remains ? 128 c = 1000 0000, while in the extended temperature range ( ? 63 c to +191 c), the fault condition is represented by ? 64 c = 0000 0000. temperature reading registers register 0x25, remote 1 temperature register 0x26, local temperature register 0x27, remote 2 temperature register 0x77, extended resolution 2 = 0x00 default [7:6] tdm2, remote 2 temperature lsbs. [5:4] ltmp, local temperature lsbs. [3:2] tdm1, remote 1 temperature lsbs. temperature limit registers associated with each temperature measurement channel are high and low limit registers. exceeding the programmed high or low limit causes the appropriate status bit to be set. exceeding either limit can also generate smbalert interrupts (depending on the way the interrupt mask register is programmed and assuming that smbalert is set as an output on the appropriate pin). register 0x4e, remote 1 temperature low limit = 0x81 default register 0x4f, remote 1 temperature high limit = 0x7f default register 0x50, local temperature low limit = 0x81 default register 0x51, local temperature high limit = 0x7f default register 0x52, remote 2 temperature low limit = 0x81 default register 0x53, remote 2 temperature high limit = 0x7f default reading temperature from the adt7476a it is important to note that temperature can be read from the adt7476a as an 8-bit value (with 1 c resolution) or as a 10-bit value (with 0.25 c resolution). if only 1 c resolution is required, the temperature readings can be read back at any time and in no particular order. if the 10-bit measurement is required, this involves a 2-register read for each measurement. extended resolution register 2 (0x77) should be read first. this causes all temperature reading registers to be frozen until all temperature reading registers have been read from. this prevents an msb reading from being updated while its two lsbs are being read and vice versa. additional adc functions for temperature measurement a number of other functions are available on the adt7476a to offer the system designer increased flexibility. turn-off averaging for each temperature measurement read from a value register, 16 readings have actually been made internally, and the results averaged, before being placed into the value register. sometimes it is necessary to take a very fast measurement. setting bit 4 of configuration register 2 (0x73) turns averaging off. the default round robin cycle time takes 146.5 ms. table 8. conversion time with averaging disabled channel measurement time (ms) voltage channels 0.7 remote temperature 1 7 remote temperature 2 7 local temperature 1.3 when bit 7 of configuration register 6 (0x10) is set, the default round robin cycle time increases to 240 ms. table 9. conversion time with averaging enabled channel measurement time (ms) voltage channels 11 remote temperature 39 local temperature 12
adt7476a http://onsemi.com 20 single-channel adc conversions setting bit 6 of configuration register 2 (0x73) places the adt7476a into single-channel adc conversion mode. in this mode, the adt7476a can be made to read a single temperature channel only . the appropriate adc channel is selected by writing to bits [7:5] of the tach1 minimum high byte register (0x55). table 10. programming single ? channel adc mode for temperatures bits [7:5], register 0x55 channel selected 101 remote 1 temperature 110 local temperature 111 remote 2 temperature configuration register 2 (0x73) [4] = 1, averaging off. [6] = 1, single-channel convert mode. tach1 minimum high byte (0x55) [7:5] selects adc channel for single-channel convert mode. overtemperature events overtemperature events on any of the temperature channels can be detected and dealt with automatically in automatic fan speed control mode. register 0x6a to register 0x6c are the therm temperature limits. when a temperature exceeds its therm temperature limit, all pwm outputs run at the maximum pwm duty cycle (register 0x38, register 0x39, and register 0x3a). this effectively runs the fans at the fastest allowed speed. the fans run at this speed until the temperature drops below therm minus hysteresis. this can be disabled by setting bit 2, the boost bit, in configuration register 3 (0x78). the hysteresis value for the therm temperature limit is the value programmed into the hysteresis registers (0x6d and 0x6e). the default hysteresis value is 4 c. figure 28. therm temperature limit operation fans temperature 100% hysteresis (  c) therm limit therm can be disabled on specific temperature channels using bits [7:5] of configuration register 5 (0x7c). therm can also be disabled by: ? writing ? 64 c to the appropriate therm temperature limit in offset 64 mode. ? writing ? 128 c to the appropriate therm temperature limit in twos complement mode. limits, status registers, and interrupts limit values associated with each measurement channel on the adt7476a are high and low limits. these can form the basis of system status monitoring; a status bit can be set for any out-of-limit condition and is detected by polling the device. alternatively, smbalert interrupts can be generated to flag out-of-limit conditions to a processor or microcontroller. 8-bit limits the following is a list of 8-bit limits on the adt7476a. voltage limit registers register 0x44, 2.5 v low limit = 0x00 default register 0x45, 2.5 v high limit = 0xff default register 0x46, v ccp low limit = 0x00 default register 0x47, v ccp high limit = 0xff default register 0x48, v cc low limit = 0x00 default register 0x49, v cc high limit = 0xff default register 0x4a, 5.0 v low limit = 0x00 default register 0x4b, 5.0 v high limit = 0xff default register 0x4c, 12 v low limit = 0x00 default register 0x4d, 12 v high limit = 0xff default temperature limit registers register 0x4e, remote 1 temperature low limit = 0x81 default register 0x4f, remote 1 temperature high limit = 0x7f default register 0x6a, remote 1 therm limit = 0x64 default register 0x50, local temperature low limit = 0x81 default register 0x51, local temperature high limit = 0x7f default register 0x6b, local therm limit = 0x64 default register 0x52, remote 2 temperature low limit = 0x81 default register 0x53, remote 2 temperature high limit = 0x7f default register 0x6c, remote 2 therm limit = 0x64 default therm timer limit register register 0x7a, therm timer limit = 0x00 default. 16-bit limits the fan tach measurements are 16-bit results. the fan tach limits are also 16 bits, consisting of a high byte and low byte. because fans running under speed or stalled are normally the only conditions of interest, only high limits exist for fan tachs. because the fan tach period is actually being measured, exceeding the limit indicates a slow or stalled fan.
adt7476a http://onsemi.com 21 fan limit registers register 0x54, tach1 minimum low byte = 0xff default register 0x55, tach1 minimum high byte = 0xff default register 0x56, tach2 minimum low byte = 0xff default register 0x57, tach2 minimum high byte = 0xff default register 0x58, tach3 minimum low byte = 0xff default register 0x59, tach3 minimum high byte = 0xff default register 0x5a, tach4 minimum low byte = 0xff default register 0x5b, tach4 minimum high byte = 0xff default out-of-limit comparisons once all limits have been programmed, the adt7476a can be enabled for monitoring. the adt7476a measures all voltage and temperature measurements in round robin format and sets the appropriate status bit for out-of-limit conditions. tach measurements are not part of this round robin cycle. comparisons are done differently depending on whether the measured value is being compared to a high or low limit. high limit: > comparison performed low limit: comparison performed voltage and temperature channels use a window comparator for error detecting and, therefore, have high and low limits. fan speed measurements use only a low limit. this fan limit is needed only in manual fan control mode. analog monitoring cycle time the analog monitoring cycle begins when a 1 is written to the start bit (bit 0) of configuration register 1 (0x40). the adc measures each analog input in turn, and, as each measurement is completed, the result is automatically stored in the appropriate value register. this round robin monitoring cycle continues unless disabled by writing a 0 to bit 0 of configuration register 1. as the adc is normally left to free-run in this manner, the time taken to monitor all the analog inputs is normally not of interest, because the most recently measured value of any input can be read out at any time. for applications where the monitoring cycle time is important, it can easily be calculated. the total number of channels measured is: ? four dedicated supply voltage inputs ? supply voltage (v cc pin) ? local temperature ? two remote temperatures as mentioned previously, the adc performs round robin conversions and takes 11 ms for each voltage measurement, 12 ms for a local temperature reading, and 39 ms for each remote temperature reading. the total monitoring cycle time for averaged voltage and temperature monitoring is, therefore, nominally ( 5  11 )  12  ( 2  39 )  145 ms (eq. 3) fan tach measurements are made in parallel and are not synchronized with the analog measurements in any way. status registers the results of limit comparisons are stored in interrupt status register 1 and interrupt status register 2. the status register bit for each channel reflects the status of the last measurement and limit comparison on that channel. if a measurement is within limits, the corresponding status register bit is cleared to 0. if the measurement is out-of-limits, the corresponding status register bit is set to 1. the state of the various measurement channels can be polled by reading the status registers over the serial bus. in bit 7 (ool) of interrupt status register 1 (0x41), 1 means an out-of-limit event has been flagged in interrupt status register 2. this means the user also needs to read interrupt status register 2. alternatively, pin 10 or pin 14 can be configured as an smbalert output. this hard interrupt automatically notifies the system supervisor of an out-of-limit condition. reading the status registers clears the appropriate status bit as long as the error condition that caused the interrupt has cleared. status register bits are sticky . whenever a status bit is set, indicating an out-of-limit condition, it remains set even if the event that caused it has gone away (until read). the only way to clear the status bit is to read the status register after the event has gone away. interrupt mask registers (0x74 and 0x75) allow individual interrupt sources to be masked from causing an smbalert . however, if one of these masked interrupt sources goes out of limit, its associated status bit is set in the status registers. interrupt status register 1 (0x41) bit 7 (ool) = 1, denotes a bit in interrupt status register 2 is set and interrupt status register 2 should be read. bit 6 (r2t) = 1, remote 2 temperature high or low limit has been exceeded. bit 5 (lt) = 1, local temperature high or low limit has been exceeded. bit 4 (r1t) = 1, remote 1 temperature high or low limit has been exceeded. bit 3 (5.0 v) = 1, 5.0 v high or low limit has been exceeded. bit 2 (v cc ) = 1, v cc high or low limit has been exceeded. bit 1 (v ccp ) = 1, v ccp high or low limit has been exceeded. bit 0 (2.5 v) = 1, 2.5 v high or low limit has been exceeded. if the 2.5 v input is configured as therm , this bit represents the status of therm . interrupt status register 2 (0x42) bit 7 (d2) = 1, indicates an open or short on d2+/d2? inputs. bit 6 (d1) = 1, indicates an open or short on d1+/d1? inputs. bit 5 (f4p) = 1, indicates fan 4 has dropped below minimum speed. alternatively, indicates that the therm limit has
adt7476a http://onsemi.com 22 been exceeded, if the therm function is used. alternatively, indicates the status of gpio6. bit 4 (fan3) = 1, indicates fan 3 has dropped below minimum speed. bit 3 (fan2) = 1, indicates fan 2 has dropped below minimum speed. bit 2 (fan1) = 1, indicates fan 1 has dropped below minimum speed. bit 1 (ovt) = 1, indicates a therm overtemperature limit has been exceeded. bit 0 (12v/vc) = 1, indicates a 12 v high or low limit has been exceeded. if the vid code change function is used, this bit indicates a change in vid code on the vid0 to vid4 inputs. smbalert interrupt behavior the adt7476a can be polled for status, or an smbalert interrupt can be generated for out-of-limit conditions. it is important to note how the smbalert output and status bits behave when writing interrupt handler software. figure 29. smbalert and status bit behavior sticky status bit high limit temperature cleared on read (temp below limit) temp back in limit (status bit stays set) smbalert figure 29 shows how the smbalert output and sticky status bits behave. once a limit is exceeded, the corresponding status bit is set to 1. the status bit remains set until the error condition subsides and the status register is read. the status bits are referred to as sticky because they remain set until read by software. this ensures that an out-of-limit event cannot be missed if the software is periodically polling the device. note that: ? the smbalert output remains low for the entire duration that a reading is out-of-limit and until the status register has been read. this has implications on how software handles the interrupt. ? therm overtemperature events are not sticky . they reset immediately after the overtemperature condition ceases. handling smbalert interrupts to prevent the system from being tied up servicing interrupts, it is recommend to handle the smbalert interrupt as follows: 1. detect the smbalert assertion. 2. enter the interrupt handler. 3. read the status registers to identify the interrupt source. 4. mask the interrupt source by setting the appropriate mask bit in the interrupt mask registers (0x74 and 0x75). 5. take the appropriate action for a given interrupt source. 6. exit the interrupt handler. 7. periodically poll the status registers. if the interrupt status bit has cleared, reset the corresponding interrupt mask bit to 0. this causes the smbalert output and status bits to behave as shown in figure 30. masking interrupt sources interrupt mask register 1 (0x74) and interrupt mask register 2 (0x75) allow individual interrupt sources to be masked to prevent smbalert interrupts. note: masking an interrupt source prevents only the smbalert output from being asserted; the appropriate status bit is set normally. figure 30. how masking the interrupt source affects smbalert output sticky status bit high limit temperature cleared on read (temp below limit) temp back in limit (status bit stays set) interrupt mask bit set smbalert interrupt mask bit cleared (smbalert rearmed) interrupt mask register 1 (0x74) bit 7 (ool) = 1, masks smbalert for any alert condition flagged in interrupt status register 2. bit 6 (r2t) = 1, masks smbalert for remote 2 temperature. bit 5 (lt) = 1, masks smbalert for local temperature. bit 4 (r1t) = 1, masks smbalert for remote 1 temperature. bit 3 (5.0 v) = 1, masks smbalert for 5.0 v channel. bit 2 (v cc ) = 1, masks smbalert for v cc channel. bit 1 (v ccp ) = 1, masks smbalert for v ccp channel. bit 0 (2.5v) = 1, masks smbalert for 2.5v in / therm .
adt7476a http://onsemi.com 23 interrupt mask register 2 (0x75) bit 7 (d2) = 1, masks smbalert for diode 2 errors. bit 6 (d1) = 1, masks smbalert for diode 1 errors. bit 5 (fan4) = 1, masks smbalert for fan 4 failure. if the tach4 pin is being used as the therm input, this bit masks smbalert for a therm event. if the tach4 pin is being used as gpio6, setting this bit masks interrupts related to gpio6. bit 4 (fan3) = 1, masks smbalert for fan 3. bit 3 (fan2) = 1, masks smbalert for fan 2. bit 2 (fan1) = 1, masks smbalert for fan 1. bit 1 (ovt) = 1, masks smbalert for overtemperature (exceeding therm temperature limits). bit 0 (12v/vc) = 1, masks smbalert for 12 v channel or for a vid code change, depending on the function used. enabling the smbalert interrupt output the smbalert interrupt function is disabled by default. pin 10 or pin 14 can be reconfigured as an smbalert output to signal out-of-limit conditions. table 11. configuring pin 10 as smbalert output register bit setting configuration register 3 (0x78) [1] pin 10 = smbalert [0] pin 10 = pwm2 assigning therm functionality to a pin pin 14 on the adt7476a has four possible functions: smbalert , therm , gpio6, and tach4. the user chooses the required functionality by setting bit 0 and bit 1 of configuration register 4 (0x7d). if therm is enabled on bit 1, configuration register 3 (0x78): ? pin 22 becomes therm . ? if pin 14 is configured as therm on bit 0 and bit 1 of configuration register 4 (0x7d), therm is enabled on this pin. if therm is not enabled: ? pin 22 becomes a 2.5 v measurement input. ? if pin 14 is configured as therm , then therm is disabled on this pin. table 12. configuring pin 14 bit 1 bit 0 function 0 0 tach4 0 1 therm 1 0 smbalert 1 1 gpio6 therm as an input when therm is configured as an input, the user can time assertions on the therm pin. this can be useful for connecting to the prochot output of a cpu to gauge system performance. when the therm pin is driven low externally, the user can also set up the adt7476a to run the fans at 100%. the fans run at 100% for the duration of time that the therm pin is pulled low. this is done by setting the boost bit (bit 2) in configuration register 3 (0x78) to 1. this works only if the fan is already running, for example, in manual mode, when the current duty cycle is above 0x00, or in automatic mode when the temperature is above t min . if the temperature is below t min or if the duty cycle in manual mode is set to 0x00, pulling the therm low externally has no ef fect. see figure 31 for more information. figure 31. asserting therm low as an input in automatic fan speed control mode therm t min therm asserted to low as an input: fans do not go to 100% because temperature is below t min . therm asserted to low as an input: fans go to 100% because temperature is above t min and fans are already running. therm timer the adt7476a has an internal timer to measure therm assertion time. for example, the therm input can be connected to the prochot output of a pentium 4 cpu to measure system performance. the therm input can also be connected to the output of a trip-point temperature sensor. the timer is started on the assertion of the adt7476a?s therm input and stopped when therm is de-asserted. the timer counts therm times cumulatively; that is, the timer resumes counti ng on the next therm assertion. the therm timer continues to accumulate therm assertion times until the timer is read (where it is cleared), or until it reaches full scale. if the counter reaches full scale, it stops at that reading until cleared. the 8-bit therm timer status register (0x79) is designed so that bit 0 is set to 1 on the first therm assertion. once the cumulative therm assertion time has exceeded
adt7476a http://onsemi.com 24 45.52 ms, bit 1 of the therm timer is set and bit 0 now becomes the lsb of the timer with a resolution of 22.76 ms (see figure 32). figure 32. understanding the therm timer therm therm timer (reg. 0x79) therm asserted  22.76ms 765 3210 4 000 0001 0 therm timer (reg. 0x79) therm asserted 45.52ms 765 3210 4 000 0010 0 therm timer (reg. 0x79) therm asserted 113.8ms (91.04ms + 22.76ms) 765 3210 4 000 0101 0 therm accumulate therm low assertion times therm accumulate therm low assertion times when using the therm timer, be aware of the following: after a therm timer read (0x79) 1. the contents of the timer are cleared on read. 2. the f4p bit (bit 5) of interrupt status register 2 needs to be cleared (assuming that the therm timer limit has been exceeded). if the therm timer is read during a therm assertion, the following occurs: 1. the contents of the timer are cleared. 2. bit 0 of the therm timer is set to 1, because a therm assertion is occurring. 3. the therm timer increments from zero. 4. if the therm timer limit register (0x7a) = 0x00, the f4p bit is set. generating smbalert interrupts from therm timer events the adt7476a can generate smbalert s when a programmable therm timer limit has been exceeded. this allows the system designer to ignore brief, infrequent therm assertions, while capturing longer therm timer events. register 0x7a is the therm timer limit register. this 8-bit register allows a limit from 0 sec (first therm assertion) to 5.825 sec to be set before an smbalert is generated. the therm timer value is compared with the contents of the therm timer limit register. if the therm timer value exceeds the therm timer limit value, then the f4p bit (bit 5) of interrupt status register 2 is set and an smbalert is generated. note: depending on which pins are configured as a therm timer, setting the f4p bit (bit 5) of mask register 2 (0x75) or bit 0 of mask register 1 (0x74) masks out smbalert ; although the f4p bit of interrupt status register 2 is still set if the therm timer limit is exceeded. figure 33 is a functional block diagram of the therm timer, limit, and associated circuitry. w riting a value of 0x00 to the therm timer limit register (0x7a) causes an smbalert to be generated on the first therm assertion. a therm timer limit value of 0x01 generates an smbalert once cumulative therm assertions exceed 45.52 ms. figure 33. functional block diagram of therm monitoring circuitry 22.76ms 45.52ms 91.04ms 182.08ms 364.16ms 728.32ms 1.457s 2.914s in out reset latch cleared on read f4p bit (bit 5) mask register 2 (reg. 0x75) 1 = mask f4p bit (bit 5) status register 2 comparator 22.76ms 45.52ms 91.04ms 182.08ms 364.16ms 728.32ms 1.457s 2.914s 7 6 5 4 3 2 1 0 7 6 543 2 1 0 therm limit (reg. 0x7a) therm timer (reg. 0x79) therm timer cleared on read smbalert therm
adt7476a http://onsemi.com 25 configuring the relevant therm behavior 1. configure the desired pin as the therm timer input. setting bit 1 (therm timer enable) of configuration register 3 (0x78) enables the therm timer monitoring functionality. this is disabled on pin 14 and pin 22 by default. setting bit 0 and bit 1 (pin14func) of configuration register 4 (0x7d) enables therm timer output functionality on pin 22 (bit 1 of configuration register 3, therm , must also be set). pin 14 can also be used as tach4. 2. select the desired fan behavior for therm timer events. assuming the fans are running, setting bit 2 (boost bit) of configuration register 3 (0x78) causes all fans to run at 100% duty cycle whenever therm is asserted. this allows fail-safe system cooling. if this bit is 0, the fans run at their current settings and are not affected by therm events. if the fans are not already running when therm is asserted, then the fans do not run to full speed. 3. select whether therm timer events should generate smbalert interrupts. setting bit 5 (f4p) of mask register 2 (0x75) or bit 0 of mask register 1 (0x74), depending on which pins are configured as a therm timer, masks smbalert s when the therm timer limit value is exceeded. this bit should be cleared if smbalert s based on therm events are required. 4. select a suitable therm limit value. this value determines whether an smbalert is generated on the first therm assertion, or if only a cumulative therm assertion time limit is exceeded. a value of 0x00 causes an smbalert to be generated on the first therm assertion. 5. select a therm monitoring time. this value specifies how often os- or bios-level software checks the therm timer. for example, bios can read the therm timer once an hour to determine the cumulative therm assertion time. if, for example, the total therm assertion time is <22.76 ms in hour 1, >182.08 ms in hour 2, and >5.825 s in hour 3, system performance is degrading significantly because therm is asserting more frequently on an hourly basis. alternatively, os- or bios-level software can timestamp when the system is powered on. if an smbalert is generated due to the therm timer limit being exceeded, another timestamp can be taken. the difference in time can be calculated for a fixed therm timer limit time. for example, if it takes one week for a therm timer limit of 2.914 sec to be exceeded, and the next time it takes only 1 hour, then a serious degradation in system performance has occurred. configuring the therm pin as an output in addition to monitoring therm as an input, the adt7476a can optionally drive therm low as an output. when prochot is bidirectional, therm can be used to throttle the processor by asserting prochot . the user can preprogram system-critical thermal limits. if the temperature exceeds a thermal limit by 0.25 c, therm asserts low. if the temperature is still above the thermal limit on the next monitoring cycle, therm stays low. therm remains asserted low until the temperature is equal to or below the thermal limit. because the temperature for that channel is measured only once for every monitoring cycle, after therm asserts, it is guaranteed to remain low for at least one monitoring cycle. the therm pin can be configured to assert low, if the remote 1, local, or remote 2 therm temperature limits are exceeded by 0.25 c. the therm temperature limit registers are at register 0x6a, register 0x6b, and register 0x6c, respectively. setting bits [5:7] of configuration register 5 (0x7c) enables the therm output feature for the remote 1, local, and remote 2 temperature channels, respectively. figure 34 shows how the therm pin asserts low as an output in the event of a critical overtemperature. figure 34. asserting therm as an output, based on tripping therm limits monitoring cycle temp therm limit 0.25  c therm limit therm an alternative method of disabling therm is to program the therm temperature limit to ?63 c or less in offset 64 mode, or ? 128 c or less in twos complement mode; that is, for therm temperature limit values less than ?63 c or ?128 c, respectively, therm is disabled. enabling and disabling therm on individual channels therm can be enabled/disabled for individual or combinations of temperature channels using bits [7:5] of configuration register 5 (0x7c). therm hysteresis setting bit 0 of configuration register 7 (0x11) disables therm hysteresis. if therm hysteresis is enabled and therm is disabled (bit 2 of configuration register 4, 0x7d), the therm pin does not assert low when a therm event occurs. if
adt7476a http://onsemi.com 26 therm hysteresis is disabled and therm is disabled (bit 2 of configuration register 4, 0x7d) and assuming the appropriate pin is configured as therm ), the therm pin asserts low when a therm event occurs. if therm and therm hysteresis are both enabled, the therm output asserts as expected. therm operation in manual mode in manual mode, therm events do not cause fans to go to full speed, unless bit 3 of configuration register 6 (0x10) is set to 1. additionally, bit 3 of configuration register 4 (0x7d) can be used to select the pwm speed on a therm event (100% or maximum pwm). bit 2 in configuration register 4 (0x7d) can be set to disable therm events from affecting the fans. fan drive using pwm control the adt7476a uses pulse-width modulation (pwm) to control fan speed. this relies on varying the duty cycle (or on/off ratio) of a square wave applied to the fan to vary the fan speed. the external circuitry required to drive a fan using pwm control is extremely simple. for 4-wire fans, the pwm drive might need only a pullup resistor. in many cases, the 4-wire fan pwm input has a built-in, pullup resistor. the adt7476a pwm frequency can be set to a selection of low frequencies or a single high pwm frequency. the low frequency options are used for 3-wire fans, while the high frequency option is usually used with 4-wire fans. for 3-wire fans, a single n-channel mosfet is the only drive device required. the specifications of the mosfet depend on the maximum current required by the fan being driven and the input capacitance of the fet. because a 10 k  (or greater) resistor must be used as a pwm pullup, an fet with large input capacitance can cause the pwm output to become distorted and adversely affect the fan control range. this is a requirement only when using high frequency pwm mode. typical notebook fans draw a nominal 170 ma, so sot devices can be used where board space is a concern. in desktops, fans typically draw 250 ma to 300 ma each. if you drive several fans in parallel from a single pwm output or drive larger server fans, the mosfet must handle the higher current requirements. the only other stipulation is that the mosfet should have a gate voltage drive, v gs < 3.3 v, for direct interfacing to the pwm output pin. the mosfet should also have a low on resistance to ensure that there is not a significant voltage drop across the fet, which would reduce the voltage applied across the fan and, therefore, the maximum operating speed of the fan. figure 35 shows how to drive a 3-wire fan using pwm control. figure 35. driving a 3 ? wire fan using an n ? channel mosfet adt7476a tach pwm 12v fan q1 ndt3055l tach 3.3v 12v 12v 10k 4.7k 10k 10k 1n4148 figure 35 uses a 10 k  pullup resistor for the tach signal. this assumes that the tach signal is an open-collector from the fan. in all cases, the tach signal from the fan must be kept below 5.5 v maximum to prevent damaging the adt7476a. figure 36 shows a fan drive circuit using an npn transistor such as a general-purpose mmbt2222. while these devices are inexpensive, they tend to have much lower current handling capabilities and higher on resistance than mosfets. when choosing a transistor, care should be taken to ensure that it meets the fan?s current requirements. ensure that the base resistor is chosen so that the transistor is saturated when the fan is powered on. because the fan drive circuitry in 4-wire fans is not switched on or off, as with previous pwm driven/powered fans, the internal drive circuit is always on and uses the pwm input as a signal instead of a power supply. this enables the internal fan drive circuit to perform better than 3-wire fans, especially for high frequency applications. figure 36. driving a 3 ? wire fan using an npn transistor adt7476a tach tach pwm 12v fan q1 mmbt2222 3.3v 12v 12v 470 4.7k 10k 10k 1n4148 figure 37 shows a typical drive circuit for 4-wire fans. figure 37. driving a 4 ? wire fan adt7476a tach pwm 12v, 4 ? wire fan 3.3v 12v 12v 2k 4.7k 10k 10k v cc tach tach pwm
adt7476a http://onsemi.com 27 driving two fans from pwm3 the adt7476a has four tach inputs available for fan speed measurement, but only three pwm drive outputs. if a fourth fan is being used in the system, it should be driven from the pwm3 output in parallel with the third fan. figure 38 shows how to drive two fans in parallel using low cost npn transistors. figure 39 shows the equivalent circuit using a mosfet. because the mosfet can handle up to 3.5 a, users can connect another fan directly in parallel with the first. care should be taken in designing drive circuits with transistors and fets to ensure that the pwm outputs are not required to source current, and that they sink less than the 5 ma maximum current specified on the data sheet. driving up to three fans from pwm3 tach measurements for fans are synchronized to particular pwm channels; for example, tach1 is synchronized to pwm1. tach3 and tach4 are both synchronized to pwm3, so pwm3 can drive two fans. alternatively, pwm3 can be programmed to synchronize tach2, tach3, and tach4 to the pwm3 output. this allows pwm3 to drive two or three fans. in this case, the drive circuitry looks the same, as shown in figure 38 and figure 39. the sync bit in register 0x62 enables this function. synchronization is not required in high frequency mode when used with 4-wire fans. (sync) enhance acoustics register 1 (0x62) [4] sync = 1, synchronizes t ach2, tach3, and tach4 to pwm3. figure 38. interfacing two fans in parallel to the pwm3 output using low cost npn transistors adt7476a pwm3 3.3v 3.3v 12v 1n4148 q1 mmbt3904 q2 mmbt2222 q3 mmbt2222 10k 10k 2.2k 1k tach3 tach4 3.3v 3.3v figure 39. interfacing two fans in parallel to the pwm3 output using a single n ? channel mosfet adt7476a pwm3 tach3 tach4 3.3v 3.3v 3.3v +v +v tach tach q1 ndt3055l 1n4148 5v or 12v fan 5v or 12v fan 10k typical 10k typical 10k typical 3.3v 3.3v laying out 3-wire fans figure 40 shows how to lay out a common circuit arrangement for 3-wire fans. figure 40. planning for 3 ? wire fans on a pcb q1 mmbt2222 r2 r1 r3 r4 pwm 1n4148 3.3v or 5v 12v or 5v tach tach inputs pin 9, pin 11, pin 12, and pin 14 (when configured as tach inputs) are high impedance inputs intended for fan speed measurement. signal conditioning in the adt7476a accommodates the slow rise and fall times typical of fan tachometer outputs. the maximum input signal range is 0 v to 5.5 v, even though v cc is 3.3 v. in the event that these inputs are supplied from fan outputs that exceed 0 v to 5.5 v, either resistive attenuation of the fan signal or diode clamping must be included to keep inputs within an acceptable range. figure 41 to figure 44 show circuits for most common fan tach outputs. if the fan t ach output has a resistive pullup to v cc , it can be connected directly to the fan input, as shown in figure 41. figure 41. fan with tach pullup to v cc 12v v cc pullup 4.7k typ tach output fan speed counter tach adt7476a 
adt7476a http://onsemi.com 28 if the fan output has a resistive pullup to 12 v, or other voltage greater than 5.5 v, the fan output can be clamped with a zener diode, as shown in figure 42. the zener diode voltage should be chosen so that it is greater than v ih of the tach input but less than 5.5 v, allowing for the voltage tolerance of the zener. a value between 5.0 v and 5.5 v is suitable. figure 42. fan with strong tach pullup to > 5.5 v, (for example, 12 v) clamped with zener diode 12v v cc pullup 4.7k typical tach output fan speed counter tach adt7476a zd1* *choose zd1 voltage approximately 0.8 v cc if the fan has a strong pullup (less than 1 k  ) to 12 v or a totem-pole output, a series resistor can be added to limit the zener current, as shown in figure 43. figure 43. fan with strong tach pullup to >v cc or totem ? pole output, clamped with zener diode and resistor 5v or 12v v cc pullup typ <1k or totem pole tach output fan speed counter tach adt7476a zd1 zener* fan *choose zd1 voltage approximately 0.8 v cc r1 10k alternatively, a resistive attenuator can be used, as shown in figure 44. r1 and r2 should be chosen such that (eq. 4) 2v
v pullup  r2  r pullup  r1  r2 
5.5 v the fan inputs have an input resistance of nominally 160 k  to ground, which should be taken into account when calculating resistor values. with a pullup voltage of 12 v and pullup resistor less than 1 k  , suitable values for r1 and r2 are 100 k  and 40 k  , respectively. this gives a high input voltage of 3.42 v. figure 44. fan with strong tach pullup to >v cc or totem ? pole output, attenuated with r1/r2 12v v cc <1k tach output fan speed counter tach adt7476a r2* *see text r1* the fan counter does not count the fan tach output pulses directly because the fan speed could be less than 1000 rpm, and it takes several seconds to accumulate a reasonably large and accurate count. instead, the period of the fan revolution is measured by gating an on-chip 90 khz oscillator into the input of a 16-bit counter for n periods of the fan tach output (figure 45), so the accumulated count is actually proportional to the fan tachometer period and inversely proportional to the fan speed. n, the number of pulses counted, is determined by the settings of t ach pulses per revolution register (0x7b). this register contains two bits for each fan, allowing one, two (default), three, or four tach pulses to be counted. figure 45. fan speed measurement 1 2 3 4 clock pwm tach fan tachometerreading registers the fan tachometer readings are 16-bit values consisting of a 2 ? byte read from the adt7476a. register 0x28, tach1 low byte = 0x00 default register 0x29, tach1 high byte = 0x00 default register 0x2a, tach2 low byte = 0x00 default register 0x2b, tach2 high byte = 0x00 default register 0x2c, tach3 low byte = 0x00 default register 0x2d, tach3 high byte = 0x00 default register 0x2e, tach4 low byte = 0x00 default register 0x2f, tach4 high byte = 0x00 default reading fan speed from the adt7476a the measurement of fan speeds involves a 2-register read for each measurement. the low byte should be read first. this causes the high byte to be frozen until both high and low byte registers have been read, preventing erroneous tach readings. the fan tachometer reading registers report back the number of 11.11  s period clocks (90 khz oscillator) gated to the fan speed counter from the rising edge of the first fan tach pulse to the rising edge of the third fan tach pulse (assuming two pulses per revolution are being counted). because the device is essentially measuring the fan tach period, the higher the count value, the slower the fan is actually running. a 16-bit fan tachometer reading of 0xffff indicates that either the fan has stalled or is running very slowly (<100 rpm). high limit: > comparison performed
adt7476a http://onsemi.com 29 because the actual fan tach period is being measured, falling below a fan tach limit by 1 sets the appropriate status bit and can be used to generate an smbalert . measuring fan tach has the following caveat: when the adt7476a starts up, tach measurements are locked. in effect, an internal read of the low byte has been made for each tach input. the net result of this is that all tach readings are locked until the high byte is read from the corresponding tach registers. all tach-related interrupts are also ignored until the appropriate high byte is read. once the corresponding high byte has been read, tach measurements are unlocked and interrupts are processed as normal. fan tach limit registers the fan t ach limit registers are 16-bit values consisting of two bytes. register 0x54, tach1 minimum low byte = 0xff default register 0x55, tach1 minimum high byte = 0xff default register 0x56, tach2 minimum low byte = 0xff default register 0x57, tach2 minimum high byte = 0xff default register 0x58, tach3 minimum low byte = 0xff default register 0x59, tach3 minimum high byte = 0xff default register 0x5a, tach4 minimum low byte = 0xff default register 0x5b, tach4 minimum high byte = 0xff default fan speed measurement rate the fan t ach readings are normally updated once every second. when set, the fast bit (bit 3) of configuration register 3 (0x78) updates the fan tach readings every 250 ms. dc bits if any of the fans are not being driven by a pwm channel but are powered directly from 5.0 v or 12 v, their associated dc bit in configuration register 3 should be set. this allows tach readings to be taken on a continuous basis for fans connected directly to a dc source. once high frequency mode is enabled in 4-wire fans, the dc bits do not need to be set because this is automatically done internally. calculating fan speed assuming a fan with two pulses per revolution, and with the adt7476a programmed to measure two pulses per revolution, fan speed is calculated by fan speed (rpm) = (90,000 x 60)/fan tach reading where fan tach reading is the 16-bit fan tachometer reading. example: tach1 high byte (0x29) = 0x17 tach1 low byte (0x28) = 0xff what is fan 1 speed in rpm? fan 1 tach reading = 0x17ff = 6143 (decimal) rpm = (f x 60)/fan 1 tach reading rpm = (90,000 x 60)/6143 fan speed = 879 rpm tach pulses per revolution different fan models can output either one, two, three, or four tach pulses per revolution. once the number of fan tach pulses has been determined, it can be programmed into the tach pulses per revolution register (0x7b) for each fan. alternatively, this register can be used to determine the number of pulses per revolution output by a given fan. by plotting fan speed measurements at 100% speed with different pulses per revolution settings, the smoothest graph with the lowest ripple determines the correct pulses per revolution value. fan pulses per revolution register [1:0] fan 1 default = 2 pulses per revolution. [3:2] fan 2 default = 2 pulses per revolution. [5:4] fan 3 default = 2 pulses per revolution. [7:6] fan 4 default = 2 pulses per revolution. 00 = 1 pulse per revolution. 01 = 2 pulses per revolution. 10 = 3 pulses per revolution. 11 = 4 pulses per revolution. fan spin-up the adt7476a has a unique fan spin-up function. it spins the fan at 100% pwm duty cycle until two tach pulses are detected on the tach input. once two tach pulses have been detected, the pwm duty cycle goes to the expected running value, for example, 33%. fans have different spin-up characteristics and take different times to overcome inertia. the advantage of the adt7476a is that it runs the fans just fast enough to overcome inertia and is quieter on spin-up than fans that are programmed to spin up for a given time. fan startup timeout to prevent the generation of false interrupts as a fan spins up (because it is below running speed), the adt7476a includes a fan startup timeout function. during this time, the adt7476a looks for two tach pulses. if two tach pulses are not detected, an interrupt is generated. fan startup timeout can be disabled by setting bit 5 (fspdis) of configuration register 1 (0x40).
adt7476a http://onsemi.com 30 pwm1, pwm2, pwm3 configuration (0x5c, 0x5d, 0x5e) [2:0] spin, startup timeout for pwm1 = 0x5c, pwm2 = 0x5d, and pwm3 = 0x5e. 000 = no startup timeout 001 = 100 ms 010 = 250 ms default 011 = 400 ms 100 = 667 ms 101 = 1 sec 110 = 2 sec 111 = 4 sec disabling fan startup timeout although fan startup makes fan spin-ups much quieter than fixed-time spin-ups, the option exists to use fixed spin-up times. setting bit 5 (fspdis) to 1 in configuration register 1 (0x40) disables the spin-up for two t ach pulses. instead, the fan spins up for the fixed time as selected in register 0x5c to register 0x5e. pwm logic state the pwm outputs can be programmed high for 100% duty cycle (noninverted) or low for 100% duty cycle (inverted). pwm1 configuration (0x5c) [4] inv. 0 = logic high for 100% pwm duty cycle 1 = logic low for 100% pwm duty cycle pwm2 configuration (0x5d) [4] inv. 0 = logic high for 100% pwm duty cycle 1 = logic low for 100% pwm duty cycle pwm3 configuration (0x5e) [4] inv. 0 = logic high for 100% pwm duty cycle 1 = logic low for 100% pwm duty cycle low frequency mode pwm drive frequency the pwm drive frequency can be adjusted for the application. register 0x5f to register 0x61 configure the pwm frequency for pwm1 to pwm3, respectively. pwm1, pwm 2, pwm3 frequency registers (0x5f to 0x61) [2:0] freq 000 = 11.0 hz 001 = 14.7 hz 010 = 22.1 hz 011 = 29.4 hz 100 = 35.3 hz (default) 101 = 44.1 hz 110 = 58.8 hz 111 = 88.2 hz high frequency mode pwm drive setting bit 3 of register 0x5f , register 0x60, and register 0x61 enables high frequency mode for fan 1, fan 2, and fan 3 respectively. in high frequency mode, the pwm drive frequency is always 22.5 khz. when high frequency mode is enabled, the dc bits are automatically asserted internally and do not need to be changed. fan speed control the adt7476a controls fan speed using automatic and manual modes: ? in automatic fan speed control mode, fan speed is automatically varied with temperature and without cpu intervention once initial parameters are set up. the advantage is that if the system hangs, the user is guaranteed that the system is protected from overheating. ? in manual fan speed control mode, the adt7476a allows the duty cycle of any pwm output to be adjusted manually. this can be useful if the user wants to change fan speed in software or adjust pwm duty cycle output for test purposes. bits [7:5] of register 0x5c to register 0x5e (pwm configuration) control the behavior of each pwm output. pwm configuration registers (0x5c to 0x5e) [7:5] bhvr. 111 = manual mode once under manual control, each pwm output can be manually updated by writing to register 0x30 to register 0x32 (pwm current duty cycle registers). programming the pwm current duty cycle registers the pwm current duty cycle registers are 8-bit registers that allow the pwm duty cycle for each output to be set anywhere from 0% to 100% in steps of 0.39%. the value to be programmed into the pwm min register is given by: value (decimal) = pwm min /0.39 example 1: for a pwm duty cycle of 50%, value (decimal) = 50/0.39 = 128 (decimal) value = 128 (decimal) or 0x80 (hex) example 2: for a pwm duty cycle of 33%, value (decimal) = 33/0.39 = 85 (decimal) value = 85 (decimal) or 0x54 (hex) pwm current duty cycle registers register 0x30 pwm1 current duty cycle = 0xff (100% default) register 0x31 pwm2 current du ty cycle = 0xff (100% default) register 0x32 pwm3 current du ty cycle = 0xff (100% default) by reading the pwmx current duty cycle registers, the user can keep track of the current duty cycle on each pwm output, even when the fans are running in automatic fan speed control mode or acoustic enhancement mode.
adt7476a http://onsemi.com 31 programming t range t range defines the distance between t min and 100% pwm. for the adt7467, adt7468 and adt7473, t range is effectively a slope. for the adt7475 andadt7476a, t range is no longer a slope, but defines the temperature region where the pwm output linearly ramps from pwm min to 100% pwm. figure 46. t range t min pwm = 100% pwm min pwm max pwm = 0% t range programming the automatic fan speed control loop to understand the automatic fan speed control loop more efficiently, it is recommended to use the adt7476a evaluation board and software while reading this section. this section provides the system designer with an understanding of the automatic fan control loop and provides step-by-step guidance on effectively evaluating and selecting critical system parameters. to optimize the system characteristics, the designer needs to give some thought to system configuration, including the number of fans, where they are located, and what temperatures are being measured in the particular system. the mechanical or thermal engineer who is tasked with the system thermal characterization should also be involved at the beginning of the system development process. manual fan control overview in unusual circumstances, it can be necessary to manually control the speed of the fans. because the adt7476a has an smbus interface, a system can read back all necessary voltage, fan speed, and temperature information, and use this information to control the speed of the fans by writing to the pwm current duty cycle register (0x30, 0x31, and 0x32) of the appropriate fan. bits [7:5] of the pwmx configuration registers (0x5c, 0x5d, 0x5e) are used to set fans up for manual control. therm operation in manual mode in manual mode, if the temperature increases above the programmed therm temperature limit, the fans automatically speed up to maximum pwm or 100% pwm, whichever way the appropriate fan channel is configured. automatic fan control overview the adt7476a can automatically control the speed of fans based on the measured temperature. this is done independently of cpu intervention once initial parameters are set up. the adt7476a has a local temperature sensor and two remote temperature channels that can be connected to a cpu on-chip thermal diode (available on intel pentium class and other cpus). these three temperature channels can be used as the basis for automatic fan speed control to drive fans using pulse-width modulation (pwm). automatic fan speed control reduces acoustic noise by optimizing fan speed according to accurately measured temperature. reducing fan speed can also decrease system current consumption. the automatic fan speed control mode is very flexible due to the number of programmable parameters, including t min and t range . the t min and t range values for a temperature channel and, therefore, for a given fan, are critical, because they define the thermal characteristics of the system. the thermal validation of the system is one of the most important steps in the design process, so these values should be selected carefully. figure 47 gives a top-level overview of the automatic fan control circuitry on the adt7476a. from a systems-level perspective, up to three system temperatures can be monitored and used to control three pwm outputs. the three pwm outputs can be used to control up to four fans. the adt7476a allows the speed of four fans to be monitored. each temperature channel has a thermal calibration block, allowing the designer to individually configure the thermal characteristics of each temperature channel. for example, designers can decide to run the cpu fan when cpu temperature increases above 60 c and a chassis fan when the local temperature increases above 45 c. at this stage, the designer has not assigned these thermal calibration settings to a particular fan drive (pwm) channel. the right side of figure 47 shows fan-specific controls. the designer has individual control over parameters such as minimum pwm duty cycle, fan speed failure thresholds, and even ramp control of the pwm outputs. automatic fan control, then, ultimately allows graceful fan speed changes that are less perceptible to the system user.
adt7476a http://onsemi.com 32 figure 47. automatic fan control block diagram mux thermal calibration 0% t min t range thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range remote 1 temp local temp remote 2 temp pwm min pwm1 tach1 tach2 tach3 pwm min pwm2 pwm min pwm3 100% pwm generator pwm generator tachometer 3 and 4 measurement tachometer 1 measurement tachometer 2 measurement ramp control (acoustic enhancement) ramp control (acoustic enhancement) ramp control (acoustic enhancement) pwm generator pwm config pwm config pwm config
adt7476a http://onsemi.com 33 step 1?hardware configuration during system design, the motherboard sensing and control capabilities should be addressed early in the design stages. decisions about how these capabilities are used should involve the system thermal/mechanical engineer. ask the following questions: 1. what adt7476a functionality is used? ? pwm2 or smbalert ? ? tach4 fan speed measurement or overtemperature therm function? ? 2.5 v voltage monitoring or overtemperature therm function? ? 12 v voltage monitoring or vid5 input? the adt7476a offers multifunctional pins that can be reconfigured to suit different system requirements and physical layouts. these multifunction pins are software programmable. 2. how many fans are supported in system, three or four? this influences the choice of whether to use the tach4 pin or to reconfigure it for the therm function. 3. is the cpu fan to be controlled using the adt7476a, or will the cpu fan run at full speed 100% of the time? if run at 100%, this frees up a pwm output, but the system is louder. 4. where will the adt7476a be physically located in the system? this influences the assignment of the temperature measurement channels to particular system thermal zones. for example, locating the adt7476a close to the vrm controller circuitry allows the vrm temperature to be monitored using the local temperature channel. figure 48. hardware configuration example rear chassis front chassis cpu fan sink remote 1 = ambient temp local = vrm temp remote 2 = cpu temp pwm1 pwm2 tach1 tach2 tach3 pwm3 mux thermal calibration 0% t min t range thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range pwm min pwm min pwm min 100% pwm generator pwm generator tachometer 3 and 4 measurement tachometer 1 measurement tachometer 2 measurement ramp control (acoustic enhancement) ramp control (acoustic enhancement) ramp control (acoustic enhancement) pwm generator pwm config pwm config pwm config
adt7476a http://onsemi.com 34 recommended implementation 1 configuring the adt7476a as shown in figure 49 provides the system designer with the following features: ? six vid inputs (vid0, vid1, vid2, vid3, vid4, and vid6) for vrm10 support. ? two pwm outputs for fan control of up to three fans. the front and rear chassis fans are connected in parallel. ? three tach fan speed measurement inputs. ? v cc measured internally through pin 4. ? cpu core voltage measurement (v core ). ? 2.5 v measurement input used to monitor cpu current (connected to v comp output of adp316x vrm controller). this is used to determine cpu power consumption. ? 5.0 v measurement input. ? vrm temperature using local temperature sensor. ? cpu temperature measured using the remote 1 temperature channel. ? ambient temperature measured through the remote 2 temperature channel. ? if not using vid5, it can be reconfigured as the 12 v monitoring input. ? bidirectional therm pin allows the monitoring of prochot output from an intel p4 processor, for example, or can be used as an overtemperature therm output. ? smbalert system interrupt output. figure 49. recommended implementation 1 front chassis fan tach2 adt7476a pwm3 rear chassis fan ambient temperature tach3 d1+ d1? v cc +5v in +12v in /vid5 gnd pwm1 tach1 vid[0:4]/vid[0:5] d2+ d2? therm smbalert sda scl prochot 5(vrm9)/6(vrm10) cpu fan cpu ich
adt7476a http://onsemi.com 35 recommended implementation 2 configuring the adt7476a as shown in figure 50 provides the system designer with the following features: ? six vid inputs (vid0, vid1, vid2, vid3, vid4, and vid6) for vrm10 support. ? three pwm outputs for fan control of up to three fans. all three fans can be individually controlled. ? three tach fan speed measurement inputs. ? v cc measured internally through pin 4. ? cpu core voltage measurement (v core ). ? 2.5 v measurement input used to monitor cpu current (connected to v comp output of adp316x vrm controller). this is used to determine cpu power consumption. ? 5.0 v measurement input. ? vrm temperature using local temperature sensor. ? cpu temperature measured using the remote 1 temperature channel. ? ambient temperature measured through the remote 2 temperature channel. ? if not using vid5, it can be reconfigured as the 12 v monitoring input. ? bidirectional therm pin allows the monitoring of prochot output/input from an intel p4 processor, for example, or can be used as an overtemperature therm output. figure 50. recommended implementation 2 front chassis fan tach2 adt7476a pwm3 pwm2 rear chassis fan ambient temperature tach3 d1+ d1? v cc +5v in +12v in /vid5 gnd pwm1 tach1 vid[0:4]/vid[0:5] d2+ d2? therm sda scl prochot 5(vrm9)/6(vrm10) cpu fan cpu ich
adt7476a http://onsemi.com 36 step 2?configuring the mux after the system hardware configuration is determined, the fans can be assigned to particular temperature channels. not only can fans be assigned to individual channels, but the behavior of the fans is also configurable. for example, fans can be run under automatic fan control, manually (under software control), or at the fastest speed calculated by multiple temperature channels. the mux is the bridge between temperature measurement channels and the three pwm outputs. bits [7:5] (bhvr) of register 0x5c, register 0x5d, and register 0x5e (pwm configuration registers) control the behavior of the fans connected to the pwm1, pwm2, and pwm3 outputs. the values selected for these bits determine how the mux connects a temperature measurement channel to a pwm output. automatic fan control mux options [7:5] (bhvr), register 0x5c, register 0x5d, register 0x5e. 000 = remote 1 temperature controls pwmx 001 = local temperature controls pwmx 010 = remote 2 temperature controls pwmx 101 = fastest speed calculated by local and remote 2 temperature controls pwmx 110 = fastest speed calculated by all three temperature channels controls pwmx the fastest speed calculated options pertain to controlling one pwm output based on multiple temperature channels. the thermal characteristics of the three temperature zones can be set to drive a single fan. an example would be the fan turning on when remote 1 temperature exceeds 60 c or if the local temperature exceeds 45 c. other mux options [7:5] (bhvr), register 0x5c, register 0x5d, register 0x5e. 011 = pwmx runs full speed 100 = pwmx disabled (default) 111 = manual mode. pwmx is running under software control. in this mode, pwm current duty cycle registers (0x30 to 0x32) are writable and control the pwm outputs. figure 51. assigning temperature channels to fan channels mux rear chassis front chassis cpu fan sink remote 1 = ambient temp local = vrm temp remote 2 = cpu temp pwm1 pwm2 tach1 tach2 tach3 pwm3 mux thermal calibration 0% t min t range thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range pwm min pwm min pwm min 100% pwm generator pwm generator tachometer 3 and 4 measurement tachometer 1 measurement tachometer 2 measurement ramp control (acoustic enhancement) ramp control (acoustic enhancement) ramp control (acoustic enhancement) pwm generator pwm config pwm config pwm config
adt7476a http://onsemi.com 37 mux configuration example this is an example of how to configure the mux in a system using the adt7476a to control three fans. the cpu fan sink is controlled by pwm1, the front chassis fan is controlled by pwm2, and the rear chassis fan is controlled by pwm3. the mux is configured for the following fan control behavior: ? pwm1 (cpu fan sink) is controlled by the fastest speed calculated by the local (vrm temperature) and remote 2 (processor) temperature. in this case, the cpu fan sink is also being used to cool the vrm. ? pwm2 (front chassis fan) is controlled by the remote 1 temperature (ambient). ? pwm3 (rear chassis fan) is controlled by the remote 1 temperature (ambient). example mux settings [7:5] (bhvr), pwm1 configuration register (0x5c). 101 = fastest speed calculated by local and remote 2 temperature controls pwm1 [7:5] (bhvr), pwm2 configuration register (0x5d). 000 = remote 1 temperature controls pwm2 [7:5] (bhvr), pwm3 configuration register (0x5e). 000 = remote 1 temperature controls pwm3 these settings configure the mux, as shown in figure 52. figure 52. mux configuration example rear chassis front chassis cpu fan sink local = vrm temp pwm1 pwm2 tach1 tach2 tach3 pwm3 remote 1 = ambient temp remote 2 = cpu temp thermal calibration 0% t min t range thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range pwm min pwm min pwm min 100% mux pwm generator pwm generator tachometer 3 and 4 measurement tachometer 1 measurement tachometer 2 measurement ramp control (acoustic enhancement) ramp control (acoustic enhancement) ramp control (acoustic enhancement) pwm generator pwm config pwm config pwm config
adt7476a http://onsemi.com 38 step 3?t min settings for thermal calibration channels t min is the temperature at which the fans start to turn on under automatic fan control. the speed at which the fan runs at t min is programmed later. the t min values chosen are temperature channel specific, for example, 25 c for ambient channel, 30 c for vrm temperature, and 40 c for processor temperature. t min is an 8-bit value, either twos complement or offset 64, which can be programmed in 1 c increments. a t min register is associated with each temperature measurement channel: remote 1, local, and remote 2 temperature. once the t min value is exceeded, the fan turns on and runs at the minimum pwm duty cycle. the fan turns off once the temperature has dropped below t min ? t hyst . to overcome fan inertia, the fan is spun up until two valid tach rising edges are counted. see the fan startup timeout section for more details. in some cases, primarily for psycho-acoustic reasons, it is desirable that the fan never switch off below t min . setting bits [7:5] of enhance acoustics register 1 (0x62) keeps the fans running at the pwm minimum duty cycle if the temperature should fall below t min . t min registers register 0x67, remote 1 temperature t min = 0x5a (90 c) register 0x68, local temperature t min = 0x5a (90 c) register 0x69, remote 2 temperature t min = 0x5a (90 c) enhance acoustics register 1 (0x62) bit 7 (min3) = 0, pwm3 is off (0% pwm duty cycle) when temperature is below t min ? t hyst . bit 7 (min3) = 1, pwm3 runs at pwm3 minimum duty cycle below t min ? t hyst . bit 6 (min2) = 0, pwm2 is off (0% pwm duty cycle) when temperature is below t min ? t hyst . bit 6 (min2) = 1, pwm2 runs at pwm2 minimum duty cycle below t min ? t hyst . bit 5 (min1) = 0, pwm1 is off (0% pwm duty cycle) when temperature is below t min ? t hyst . bit 5 (min1) = 1, pwm1 runs at pwm1 minimum duty cycle below t min ? t hyst . figure 53. understanding the t min parameter 0% 100% pwm dutycycle t min rear chassis front chassis cpu fan sink local = vrm temp pwm1 pwm2 tach1 tach2 tach3 pwm3 remote 1 = ambient temp remote 2 = cpu temp mux thermal calibration 0% t min t range thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range pwm min pwm min pwm min 100% pwm generator pwm generator tachometer 3 and 4 measurement tachometer 1 measurement tachometer 2 measurement ramp control (acoustic enhancement) ramp control (acoustic enhancement) ramp control (acoustic enhancement) pwm generator pwm config pwm config pwm config
adt7476a http://onsemi.com 39 step 4?pwm min for each pwm (fan) output pwm min is the minimum pwm duty cycle at which each fan in the system runs. it is also the start speed for each fan under automatic fan control once the temperature rises above t min . for maximum system acoustic benefit, pwm min should be as low as possible. depending on the fan used, the pwm min setting is usually in the 20% to 33% duty cycle range. this value can be found through fan validation. figure 54. pwm min determines minimum pwm duty cycle temperature t min 100% pwm min 0% pwm duty cycle more than one pwm output can be controlled from a single temperature measurement channel. for example, remote 1 temperature can control pwm1 and pwm2 outputs. if two dif ferent fans are used on pwm1 and pwm2, the fan characteristics can be set up differently. as a result, fan 1 driven by pwm1 can have a dif ferent pwm min value than that of fan 2 connected to pwm2. figure 55 illustrates this as pwm1 min (front fan), which is turned on at a minimum duty cycle of 20%, while pwm2 min (rear fan) turns on at a minimum of 40% duty cycle. note: both fans turn on at exactly the same temperature, defined by t min . figure 55. operating two different fans from a single temperature channel temperature t min 100% pwm1 min 0% pwm duty cycle pwm1 pwm2 pwm2 min programming the pwm minimum duty cycle registers the pwm minimum duty cycle registers are 8-bit registers that allow the minimum pwm duty cycle for each output to be configured anywhere from 0% to 100%. this allows the minimum pwm duty cycle to be set in steps of 0.39%. the value to be programmed into the pwm min register is given by: value (decimal) = pwm min /0.39 example 1: for a minimum pwm duty cycle of 50%, value (decimal) = 50/0.39 = 128 (decimal) value = 128 (decimal) or 80 (hex) example 2: for a minimum pwm duty cycle of 33%, value (decimal) = 33/0.39 = 85 (decimal) value = 85 (decimal) l or 54 (hex) pwm minimum duty cycle registers register 0x64, pwm1 minimum duty cycle = 0x80 (50% default) register 0x65, pwm2 minimum duty cycle = 0x80 (50% default) register 0x66, pwm3 minimum duty cycle = 0x80 (50% default) note on fan speed and pwm duty cycle the pwm duty cycle does not directly correlate to fan speed in rpm. running a fan at 33% pwm duty cycle does not equate to running the fan at 33% speed. driving a fan at 33% pwm duty cycle actually runs the fan at closer to 50% of its full speed. this is because fan speed in %rpm generally relates to the square root of pwm duty cycle. given a pwm square wave as the drive signal, fan speed in rpm approximates to: % fanspeed  pwm duty cycle  10 (eq. 5) step 5?pwm max for pwm (fan) outputs pwm max is the maximum duty cycle that each fan in the system runs at under the automatic fan speed control loop. for maximum system acoustic benefit, pwm max should be as low as possible but should be capable of maintaining the processor temperature limit at an acceptable level. if the therm temperature limit is exceeded, the fans are still boosted to 100% for fail-safe cooling. there is a pwm max limit for each fan channel. the default value of this register is 0xff and has no effect unless it is programmed. figure 56. pwm max determines maximum pwm duty cycle below the therm temperature limit temperature t min 100% pwm min 0% pwm duty cycle pwm max
adt7476a http://onsemi.com 40 programming the pwm maximum duty cycle registers the pwm maximum duty cycle registers are 8-bit registers that allow the maximum pwm duty cycle for each output to be configured anywhere from 0% to 100%. this allows the maximum pwm duty cycle to be set in steps of 0.39%. the value to be programmed into the pwm maximum duty cycle register is given by: value (decimal) = pwm max /0.39 example 1: for a maximum pwm duty cycle of 50%, value (decimal) ? 50/0.39 = 128 (decimal) value = 128 (decimal) or 80 (hex) example 2: for a minimum pwm duty cycle of 75%, value (decimal) = 75/0.39 = 85 (decimal) value = 192 (decimal) or c0 (hex) pwm maximum duty cycle registers register 0x38, pwm1 maximum duty cycle = 0xff (100% default) register 0x39, pwm2 maximum duty cycle = 0xff (100% default) register 0x3a, pwm3 maximum duty cycle = 0xff (100% default) step 6?t range for temperature channels t range is the range of temperature over which automatic fan control occurs once the programmed t min temperature has been exceeded. t range is the temperature range between pwm min and 100% pwm where the fan speed changes linearly. otherwise stated, it is the line drawn between the t min /pwm min and the (t min + t range )/pwm100% intersection points. figure 57. t range parameter affects cooling slope temperature t min 100% pwm min 0% pwm duty cycle t range the t range is determined by the following procedure: 1. determine the maximum operating temperature for that channel (for example, 70 c). 2. determine experimentally the fan speed (pwm duty cycle value) that does not exceed the temperature at the worst-case operating points. for example, 70 c is reached when the fans are running at 50% pwm duty cycle. 3. determine the slope of the required control loop to meet these requirements. 4. using the adt7476a evaluation software, you can graphically program and visualize this functionality. as pwm min is changed, the automatic fan control slope changes. figure 58. adjusting pwm min changes the automatic fan control slope t min 100% 33% 0% pwm duty cycle 50% 30  c as t range is changed, the slope changes. as t range gets smaller, the fans reach 100% speed with a smaller temperature change. figure 59. increasing t range changes the afc slope figure 60. changing pwm max does not change the afc slope t min t min?hyst 100% 0% pwm duty cycle 30  c 40  c 10% 45  c 54  c 100% max pwm 0% pwm duty cycle t range 10% t min?hyst
adt7476a http://onsemi.com 41 selecting t range the t range value can be selected for each temperature channel: remote 1, local, and remote 2 temperature. bits [7:4] (t range ) of register 0x5f to register 0x61 define the t range value for each temperature channel. table 13. selecting a t range value bits [7:4] (note 1) t range (  c) 0000 2 0001 2.5 0010 3.33 0011 4 0100 5 0101 6.67 0110 8 0111 10 1000 13.33 1001 16 1010 20 1011 26.67 1100 32 (default) 1101 40 1110 53.33 1111 80 1. register 0x5f configures remote 1 t range ; register 0x60 configures local t range ; register 0x61 configures remote 2 t range . actual changes in pwm output (advanced acoustics settings) while the automatic fan control algorithm describes the general response of the pwm output, it is also necessary to note that the enhance acoustics registers (0x62 and 0x63) can be used to set/clamp the maximum rate of change of pwm output for a given temperature zone. this means that if t range is programmed with an afc slope that is quite steep, a relatively small change in temperature could cause a large change in pwm output and possibly an audible change in fan speed, which can be noticeable/ bothersome to end users. decreasing the speed the pwm output changes by programming the smoothing on the appropriate temperature channels (register 0x62 and register 0x63) changes how fast the fan speed increases/decreases in the event of a temperature spike. the pwm duty cycle increases slowly until the pwm duty cycle reaches the appropriate duty cycle as defined by the afc curve. figure 61 shows pwm duty cycle vs. temperature for each t range setting. the lower graph shows how each t range setting affects fan speed vs. temperature. as can be seen from the graph, the effect on fan speed is nonlinear. figure 61. t range vs. actual fan speed (not pwm drive) profile temperature above t min 0 20 40 60 80 100 120 0 fan speed (% of max) 10 20 30 40 50 60 70 80 90 100 temperature above t min (b) (a) 0 20 40 60 80 100 120 0 pwm duty cycle (%) 10 20 30 40 50 60 70 80 90 100 2  c 80  c 53.3  c 40  c 32  c 26.6  c 20  c 16  c 13.3  c 10  c 8  c 6.67  c 5  c 4  c 3.33  c 2.5  c 2  c 80  c 53.3  c 40  c 32  c 26.6  c 20  c 16  c 13.3  c 10  c 8  c 6.67  c 5  c 4  c 3.33  c 2.5  c the graphs in figure 61 assume that the fan starts from 0% pwm duty cycle. clearly, the minimum pwm duty cycle, pwm min , needs to be factored in to see how the loop actually performs in the system. figure 62 shows how t range is affected when the pwm min value is set to 20%. it can be seen that the fan actually runs at about 45% fan speed when the temperature exceeds t min .
adt7476a http://onsemi.com 42 figure 62. t range and % fan speed slopes with pwm min = 20% temperature above t min 0 20 40 60 80 100 120 0 pwm duty cycle (%) 10 20 30 40 50 60 70 80 90 100 temperature above t min (a) (b) 0 20 40 60 80 100 120 0 fan speed (% of max) 10 20 30 40 50 60 70 80 90 100 2  c 80  c 53.3  c 40  c 32  c 26.6  c 20  c 16  c 13.3  c 10  c 8  c 6.67  c 5  c 4  c 3.33  c 2.5  c 2  c 80  c 53.3  c 40  c 32  c 26.6  c 20  c 16  c 13.3  c 10  c 8  c 6.67  c 5  c 4  c 3.33  c 2.5  c example: determining t range for each temperature channel the following example shows how the dif ferent t min and t range settings can be applied to three different thermal zones. in this example, the following t range values apply: t range = 80 c for ambient temperature t range = 53.33 c for cpu temperature t range = 40 c for vrm temperature this example uses the mux configuration described in step 2 - configuring the mux with the adt7476a connected as shown in figure 52. both cpu temperature and vrm temperature drive the cpu fan connected to pwm1. ambient temperature drives the front chassis fan and rear chassis fan connected to pwm2 and pwm3. the front chassis fan is configured to run at pwm min = 20%. the rear chassis fan is configured to run at pwm min = 30%. the cpu fan is configured to run at pwm min = 10%. note: the control range for 4-wire fans is much wider than that of 3 ? wire fans. in many cases, 4-wire fans can start with a pwm drive of as little as 20% or less. in extreme cases, some 3-wire fans cannot run unless a pwm drive of 60% or more is applied. figure 63. t range and % fan speed slopes for vrm, ambient, and cpu temperature channels temperature above t min 0 10203040 100 50 60 70 80 90 0 pwm duty cycle (%) 10 20 30 40 50 60 70 80 90 100 temperature above t min 0 fan speed (% max rpm) 10 20 30 40 50 60 70 80 90 100 0 10203040 100 50 60 70 80 90 vrm temperature ambient temperature cpu temperature vrm temperature cpu temperature ambient temperature step 7?t therm for temperature channels t therm is the absolute maximum temperature allowed on a temperature channel. above this temperature, a component such as the cpu or vrm can operate beyond its safe operating limit. when the temperature measured exceeds t therm , all fans are driven at 100% pwm duty cycle (full speed) to provide critical system cooling. the fans remain running at 100% until the temperature drops below t therm minus hysteresis, where hysteresis is the number programmed into the hysteresis registers (0x6d and 0x6e). the default hysteresis value is 4 c. the t therm limit should be considered the maximum worst-case operating temperature of the system. because exceeding any t therm limit runs all fans at 100%, it has very negative acoustic effects. ultimately, this limit should be set up as a fail-safe, and users should ensure that it is not exceeded under normal system operating conditions. note: t therm limits are nonmaskable and affect the fan speed no matter how automatic fan control settings are configured. this allows some flexibility, because a t range value can be selected based on its slope, while a hard limit (such as 70 c), can be programmed as t max (the
adt7476a http://onsemi.com 43 temperature at which the fan reaches full speed) by setting t therm to that limit (for example, 70 c). therm limit registers register 0x6a, remote 1 therm limit = 0x64 (100 c default) register 0x6b, local therm limit = 0x64 (100 c default) register 0x6c, remote 2 therm limit = 0x64 (100 c default) therm hysteresis therm hysteresis on a particular channel is configured via the hysteresis settings (register 0x6d and register 0x6e). for example, setting hysteresis on the remote 1 channel also sets the hysteresis on remote 1 therm . hysteresis registers register 0x6d, remote 1, local temperature hysteresis [7:4], remote 1 temperature hysteresis (4 c default). [3:0], local temperature hysteresis (4 c default). register 0x6e , remote 2 temperature hysteresis [7:4], remote 2 temperature hysteresis (4 c default). because each hysteresis setting is four bits, hysteresis values are programmable from 1 c to 15 c. it is not recommended to program hysteresis values to 0 c, because this d isables hysteresis. in effect, this causes the fans to cycle (during a therm event ) between normal speed and 100% speed, or, while operating close to t min , between normal speed and off, creating unsettling acoustic noise. figure 64. how t therm relates to automatic fan control t min pwm dutycycle 0% 100% t therm t range rear chassis front chassis cpu fan sink local = vrm temp pwm1 pwm2 tach1 tach2 tach3 pwm3 remote 1 = ambient temp remote 2 = cpu temp mux thermal calibration 0% t min t range thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range pwm min pwm generator pwm min pwm generator tachometer 3 and 4 measurement pwm min tachometer 1 measurement tachometer 2 measurement ramp control (acoustic enhancement) ramp control (acoustic enhancement) ramp control (acoustic enhancement) pwm generator 100% pwm config pwm config pwm config
adt7476a http://onsemi.com 44 step 8?t hyst for temperature channels t hyst is the amount of extra cooling a fan provides after the temperature measured has dropped back below t min before the fan turns off. the premise for temperature hysteresis (t hyst ) is that without it, the fan would merely chatter, or cycle on and off regularly, whenever the temperature hovers around the t min setting. the t hyst value chosen determines the amount of time needed for the system to cool down or heat up as the fan is turning on and off. v alues of hysteresis are programmable in the range 1 c to 15 c. larger values of t hyst prevent the fans from chattering on and off. the t hyst default value is set at 4 c. the t hyst setting applies not only to the temperature hysteresis for fan on/off, but the same setting is used for the t therm hysteresis value, described in step 6 - t range for temperature channels. therefore, programming register 0x6d and register 0x6e sets the hysteresis for both fan on/off and the therm function. in some applications, it is required that fans not turn off below t min but remain running at pwm min . bits [7:5] of enhance acoustics register 1 (0x62) allow the fans to be turned off or to be kept spinning below t min . if the fans are always on, the t hyst value has no effect on the fan when the temperature drops below t min . therm hysteresis any hysteresis programmed via register 0x6d and register 0x6e also applies hysteresis on the appropriate therm channel. figure 65. the t hyst value applies to fan on/off hysteresis and therm hysteresis rear chassis front chassis cpu fan sink local = vrm temp pwm1 pwm2 tach1 tach2 tach3 pwm3 remote 1 = ambient temp remote 2 = cpu temp mux thermal calibration 0% t min t range thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range pwm min pwm min pwm min 100% t min pwm dutycycle 0% 100% t range t therm ramp control (acoustic enhancement) ramp control (acoustic enhancement) ramp control (acoustic enhancement) pwm generator pwm generator tachometer 3 and 4 measurement tachometer 1 measurement tachometer 2 measurement pwm generator pwm config pwm config pwm config
adt7476a http://onsemi.com 45 enhance acoustics register 1 (0x62) bit 7 (min3) = 0, pwm3 is off (0% pwm duty cycle) when temperature is below t min ? t hyst . bit 7 (min3) = 1, pwm3 runs at pwm3 minimum duty cycle below t min ? t hyst . bit 6 (min2) = 0, pwm2 is off (0% pwm duty cycle) when temperature is below t min ? t hyst . bit 6 (min2) = 1, pwm2 runs at pwm2 minimum duty cycle below t min ? t hyst . bit 5 (min1) = 0, pwm1 is off (0% pwm duty cycle) when temperature is below t min ? t hyst . bit 5 (min1) = 1, pwm1 runs at pwm1 minimum duty cycle below t min ? t hyst . configuration register 6 (0x10) [0] slow = 1, slows the ramp rate for pwm changes associated with the remote 1 temperature channel by a factor of 4. [1] slow = 1, slows the ramp rate for pwm changes associated with the local temperature channel by a factor of 4. [2] slow = 1, slows the ramp rate for pwm changes associated with the remote 2 temperature channel by a factor of 4. [7] extraslow = 1, slows the ramp rate for all fans by a factor of 39.2%. the following sections list the ramp ? up times when enhanced acoustics is enabled for each temperature channel. enhance acoustics register 1 (0x62) [2:0] acou selects the ramp rate for pwm outputs associated with the remote temperature 1 input. 000 = 37.5 sec 001 = 18.8 sec 010 = 12.5 sec 011 = 7.5 sec 100 = 4.7 sec 101 = 3.1 sec 110 = 1.6 sec 111 = 0.8 sec enhance acoustics register 2 (0x63) [2:0] acou3 selects the ramp rate for pwm outputs associated with the local temperature channel. 000 = 37.5 sec 001 = 18.8 sec 010 = 12.5 sec 011 = 7.5 sec 100 = 4.7 sec 101 = 3.1 sec 110 = 1.6 sec 111 = 0.8 sec [6:4] acou2 selects the ramp rate for pwm outputs associated with the remote temperature 2 input. 000 = 37.5 sec 001 = 18.8 sec 010 = 12.5 sec 011 = 7.5 sec 100 = 4.7 sec 101 = 3.1 sec 110 = 1.6 sec 111 = 0.8 sec when bit 7 of configuration register 6 (0x10) = 1, the above ramp rates change to the values below. 000 = 52.2 sec 001 = 26.1 sec 010 = 17.4 sec 011 = 10.4 sec 100 = 6.5 sec 101 = 4.4 sec 110 = 2.2 sec 111 = 1.1 sec setting the appropriate slow bit [2:0] of configuration register 6 (0x10) slows the ramp rate further by a factor of 4. fan presence detect this feature is used to determine if a 4 ? wire fan is directly connected to a pwm output. this feature does not work for 3 ? wire fans. to detect whether a 4 ? wire fan is connected directly to a pwm output, the following must be performed in this order: 1. drive the appropriate pwm outputs to 100% duty cycle. 2. set bit 0 of configuration register 2 (0x73). 3. wait 5 ms. 4. program fans to run at a different speed if necessary. 5. read the state of bits [3:1] of configuration register 2 (0x73). the state of these bits reflects whether a 4 ? wire fan is directly connected to the pwm output. as the detection time only takes 5 ms, programming the pwm outputs to 100% and then back to its normal speed is not noticeable in most cases. how fan presence detect works 4-wire fans typically have an internal pull up to 4.75 v 10%, which typically sources 5 ma. while the detection cycle is on, an internal current sink is turned on, which sinks current from the fan?s internal pullup. by driving some of the current from the fan?s internal pullup (~100  a) the logic buffer switches to a defined logic state. if this state is high, a fan is present; if the state is low, no fan is present. note: the pwm input voltage should be clamped to 3.3 v. this ensures the pwm output is not pulled to a voltage higher than the maximum allowable voltage on that pin (5.5 v).
adt7476a http://onsemi.com 46 fan sync when two adt7476as are used in a system, it is possible to synchronize them so that one pwm channel from each device can be effectively or?ed together to create a pwm output that reflects the maximum speed of the two or?ed pwms. this or?ed pwm can in turn be used to drive a chassis fan. standby mode the adt7476a has been specifically designed to respond to the stby supply. in computers that support s3 and s5 states, the core voltage of the processor is lowered in these states. when monitoring therm , the therm timer should be disabled during these states. when the v ccp voltage drops below the v ccp low limit, the following occurs: 1. status bit 1 (v ccp ) in interrupt status register 1 is set. 2. smbalert is generated, if enabled. 3. therm monitoring is disabled. the therm timer should hold its value prior to the s3 or s5 state. once the core voltage, v ccp , goes above the v ccp low limit, everything is re-enabled and the system resumes normal operation. xnor tree test mode the adt7476a includes an xnor tree test mode. this mode is useful for in-circuit test equipment at board-level testing. by applying stimulus to the pins included in the xnor tree, it is possible to detect opens, or shorts, on the system board. the xnor tree test is invoked by setting bit 0 (xen) of the xnor tree test enable register (0x6f). figure 66 shows the signals that are exercised in the xnor tree test mode. figure 66. xnor tree test pwm1/xto pwm3 pwm2 tach4 tach3 tach2 tach1 vid4 vid3 vid2 vid1 vid0 power-on default when the adt7476a is powered up, monitoring is off by default and the pwm outputs go to 100%. all necessary registers then need to be configured via the smbus for the appropriate functions to operate. register tables table 14. adt7476a registers addr r/w desc bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 de- fault lock - able 0x10 r/w configuration register 6 extra slow v ccp low master en slaveen therm in manual slowfan remote 1 slowfan local slowfan remote 1 0x00 yes 0x11 r/w configuration register 7 res res res res res res res dis therm hys 0x00 yes 0x20 r 2.5 v measurement 9 8 7 6 5 4 3 2 0x00 ? 0x21 r v ccp measurement 9 8 7 6 5 4 3 2 0x00 ? 0x22 r v cc measurement 9 8 7 6 5 4 3 2 0x00 ? 0x23 r 5.0 v measurement 9 8 7 6 5 4 3 2 0x00 ? 0x24 r 12 v measurement 9 8 7 6 5 4 3 2 0x00 ? 0x25 r remote 1 temperature 9 8 7 6 5 4 3 2 0x80 ?
adt7476a http://onsemi.com 47 table 14. adt7476a registers addr lock - able de- fault bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 desc r/w 0x26 r local temperature 9 8 7 6 5 4 3 2 0x80 ? 0x27 r remote 2 temperature 9 8 7 6 5 4 3 2 0x80 ? 0x28 r tach1 low byte 7 6 5 4 3 2 1 0 0x00 ? 0x29 r tach1 high byte 15 14 13 12 11 10 9 8 0x00 ? 0x2a r tach2 low byte 7 6 5 4 3 2 1 0 0x00 ? 0x2b r tach2 high byte 15 14 13 12 11 10 9 8 0x00 ? 0x2c r tach3 low byte 7 6 5 4 3 2 1 0 0x00 ? 0x2d r tach3 high byte 15 14 13 12 11 10 9 8 0x00 ? 0x2e r tach4 low byte 7 6 5 4 3 2 1 0 0x00 ? 0x2f r tach4 high byte 15 14 13 12 11 10 9 8 0x00 ? 0x30 r/w pwm1 current duty cycle 7 6 5 4 3 2 1 0 0xff ? 0x31 r/w pwm2 current duty cycle 7 6 5 4 3 2 1 0 0xff ? 0x32 r/w pwm3 current duty cycle 7 6 5 4 3 2 1 0 0xff ? 0x38 r/w pwm1 max duty cycle 7 6 5 4 3 2 1 0 0xff yes 0x39 r/w pwm2 max duty cycle 7 6 5 4 3 2 1 0 0xff yes 0x3a r/w pwm3 max duty cycle 7 6 5 4 3 2 1 0 0xff yes 0x3d r device id register 7 6 5 4 3 2 1 0 0x76 ? 0x3e r company id number 7 6 5 4 3 2 1 0 0x41 ? 0x3f r revision id 7 6 5 4 3 2 1 0 0x6b ? 0x40 r/w configuration register 1 res todis fspdis vx1 fspd rdy lock strt 0x04 yes 0x41 r interrupt status register 1 ool r2t lt r1t 5.0 v v cc v ccp 2.5 v/ therm 0x00 ? 0x42 r interrupt status register 2 d2 d1 f4p fan3 fan2 fan1 ovt 12 v/vc 0x00 ? 0x43 r/w vid/gpio vidsel thld vid 5 vid4/ gpio4 vid3/ gpio3 vid2/ gpio2 vid1/ gpio1 vid 0/ gpio 0 0x1f ? 0x44 r/w 2.5 v low limit 7 6 5 4 3 2 1 0 0x00 ? 0x45 r/w 2.5 v high limit 7 6 5 4 3 2 1 0 0xff ? 0x46 r/w v ccp low limit 7 6 5 4 3 2 1 0 0x00 ? 0x47 r/w v ccp high limit 7 6 5 4 3 2 1 0 0xff ? 0x48 r/w v cc low limit 7 6 5 4 3 2 1 0 0x00 ? 0x49 r/w v cc high limit 7 6 5 4 3 2 1 0 0xff ? 0x4a r/w 5.0 v low limit 7 6 5 4 3 2 1 0 0x00 ? 0x4b r/w 5.0 v high limit 7 6 5 4 3 2 1 0 0xff ? 0x4c r/w 12 v low limit 7 6 5 4 3 2 1 0 0x00 ?
adt7476a http://onsemi.com 48 table 14. adt7476a registers addr lock - able de- fault bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 desc r/w 0x4d r/w 12 v high limit 7 6 5 4 3 2 1 0 0xff ? 0x4e r/w remote 1 temp low limit 7 6 5 4 3 2 1 0 0x81 ? 0x4f r/w remote 1 temp high limit 7 6 5 4 3 2 1 0 0x7f ? 0x50 r/w local temp low limit 7 6 5 4 3 2 1 0 0x81 ? 0x51 r/w local temp high limit 7 6 5 4 3 2 1 0 0x7f ? 0x52 r/w remote 2 temp low limit 7 6 5 4 3 2 1 0 0x81 ? 0x53 r/w remote 2 temp high limit 7 6 5 4 3 2 1 0 0x7f ? 0x54 r/w tach1 min low byte 7 6 5 4 3 2 1 0 0xff ? 0x55 r/w tach1 min high byte 15 14 13 12 11 10 9 8 0xff ? 0x56 r/w tach2 min low byte 7 6 5 4 3 2 1 0 0xff ? 0x57 r/w tach2 min high byte 15 14 13 12 11 10 9 8 0xff ? 0x58 r/w tach3 min low byte 7 6 5 4 3 2 1 0 0xff ? 0x59 r/w tach3 min high byte 15 14 13 12 11 10 9 8 0xff ? 0x5a r/w tach4 min low byte 7 6 5 4 3 2 1 0 0xff ? 0x5b r/w tach4 min high byte 15 14 13 12 11 10 9 8 0xff ? 0x5c r/w pwm1 configuration bhvr bhvr bhvr inv res spin spin spin 0x62 yes 0x5d r/w pwm2 configuration bhvr bhvr bhvr inv res spin spin spin 0x62 yes 0x5e r/w pwm3 configuration bhvr bhvr bhvr inv res spin spin spin 0x62 yes 0x5f r/w remote 1 t range /pwm1 frequency range range range range hf/lf freq freq freq 0xc4 yes 0x60 r/w local t range /pwm2 frequency range range range range hf/lf freq freq freq 0xc4 yes 0x61 r/w remote 2 t range /pwm3 frequency range range range range hf/lf freq freq freq 0xc4 yes 0x62 r/w enhance acoustics register 1 min3 min2 min1 sync en1 acou acou acou 0x00 yes 0x63 r/w enhance acoustics register 2 en2 acou2 acou2 acou2 en3 acou3 acou3 acou3 0x00 yes 0x64 r/w pwm1 min duty cycle 7 6 5 4 3 2 1 0 0x80 yes 0x65 r/w pwm2 min duty cycle 7 6 5 4 3 2 1 0 0x80 yes 0x66 r/w pwm3 min duty cycle 7 6 5 4 3 2 1 0 0x80 yes 0x67 r/w remote 1 temp t min 7 6 5 4 3 2 1 0 0x5a yes
adt7476a http://onsemi.com 49 table 14. adt7476a registers addr lock - able de- fault bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 desc r/w 0x68 r/w local temp t min 7 6 5 4 3 2 1 0 0x5a yes 0x69 r/w remote 2 temp t min 7 6 5 4 3 2 1 0 0x5a yes 0x6a r/w remote 1 therm limit 7 6 5 4 3 2 1 0 0x64 yes 0x6b r/w local therm limit 7 6 5 4 3 2 1 0 0x64 yes 0x6c r/w remote 2 therm limit 7 6 5 4 3 2 1 0 0x64 yes 0x6d r/w remote 1 and local temp/t min hysteresis hysr1 hysr1 hysr1 hysr1 hysl hysl hysl hysl 0x44 yes 0x6e r/w remote 2 te m p / t min hysteresis hysr2 hysr2 hysr2 hyrs res res res res 0x40 yes 0x6f r/w xnor tree test enable res res res res res res res xen 0x00 yes 0x70 r/w remote 1 temp offset 7 6 5 4 3 2 1 0 0x00 yes 0x71 r/w local temp offset 7 6 5 4 3 2 1 0 0x00 yes 0x72 r/w remote 2 temp offset 7 6 5 4 3 2 1 0 0x00 yes 0x73 r/w configuration register 2 res conv attn avg fan3 detect fan2 detect fan1 detect fan presdt 0x00 yes 0x74 r/w interrupt mask register 1 ool r2t lt r1t 5.0 v vcc vccp 2.5 v/ therm 0x00 ? 0x75 r/w interrupt mask register 2 d2 d1 f4p fan3 fan2 fan1 ovt 12 v/vc 0x00 ? 0x76 r/w extended resolution register 1 5.0 v 5.0 v v cc v cc v ccp v ccp 2.5 v 2.5 v 0x00 ? 0x77 r/w extended resolution register 2 tdm2 tdm2 ltmp ltmp tdm1 tdm1 12 v 12 v 0x00 ? 0x78 r/w configuration register 3 dc4 dc3 dc2 dc1 fast boost therm / 2.5v alert 0x00 yes 0x79 r therm timer status tmr tmr tmr tmr tmr tmr tmr asrt/t mro 0x00 ? 0x7a r/w therm timer limit limt limt limt limt limt limt limt limt 0x00 ? 0x7b r/w tach pulses per revolution fan4 fan4 fan3 fan3 fan2 fan2 fan1 fan1 0x55 ? 0x7c r/w configuration register 5 r2 therm local therm r1 therm vid/ gpio gpio6p gpio6d te m p offset 2sc 0x01 yes 0x7d r/w configuration register 4 bpatt 12 v bpatt 5.0 v bpatt v ccp bpatt 2.5 v max speed on therm therm disable pin14 func pin14 func 0x00 yes 0x7e r te s t 1 do not write to these registers 0x00 yes 0x7f r te s t 2 do not write to these registers 0x00 yes
adt7476a http://onsemi.com 50 table 15. register 0x10 ? configuration register 6 (power ? on default = 0x00) (note 1 and 2) bit no. mnemonic r/w description [0] slowfan remote 1 r/w when this bit is set, fan 1 smoothing times are multiplied x4 for remote 1 temperature channel (as defined in register 0x62). [1] slowfan local r/w when this bit is set, fan 2 smoothing times are multiplied x4 for local temperature channel (as defined in register 0x63). [2] slowfan remote 2 r/w when this bit is set, fan 3 smoothing times are multiplied x4 for remote 2 temperature channel (as defined in register 0x63). [3] therm in manual r/w when this bit is set, therm is enabled in manual mode. (note 1) [4] slaveen r/w setting this bit configures the adt7476a as a slave for use in fan sync mode. [5] masteren r/w setting this bit configures the adt7476a as a master for use in fan sync mode. [6] v ccp low r/w v ccp low = 1. when the power is supplied from 3.3 v standby and the core voltage (v ccp ) drops below its v ccp low limit value (register 0x46), the following occurs: status bit 1 in interrupt status register 1 is set. smbalert is generated, if enabled. prochot monitoring is disabled. everything is re-enabled once v ccp increases above the v ccp low limit.when v ccp increases above the low limit: prochot monitoring is enabled. fans return to their programmed state after a spin-up cycle. [7] extraslow r/w when this bit is set, all fan smoothing times are increased by a further 39.2% 1. a therm event always overrides any fan setting (even when fans are disabled). 2. this register becomes read-only when the configuration register 1 lock bit is set to 1. any subsequent attempts to write to this register fail. table 16. register 0x11 ? configuration register 7 (power ? on default = 0x00) (note 1) bit no. mnemonic r/w description [0] distherm hys read/write setting this bit to 1 disables therm hysteresis. [7:1] reserved n/a reserved. do not write to these bits. 1. this register becomes read-only when the configuration register 1 lock bit is set to 1. any subsequent attempts to write to this register fail. table 17. voltage reading registers (power ? on default = 0x00) (note 1) register address r/w description 0x20 read ? only reflects the voltage measurement at the 2.5 v input on pin 22 (8 msbs of reading). 0x21 read ? only reflects the voltage measurement (note 2) at the v ccp input on pin 23 (8 msbs of reading). 0x22 read ? only reflects the voltage measurement (note 3) at the v cc input on pin 4 (8 msbs of reading). 0x23 read ? only reflects the voltage measurement at the 5.0 v input on pin 20 (8 msbs of reading). 0x24 read ? only reflects the voltage measurement at the 12 v input on pin 21 (8 msbs of reading). 1. if the extended resolution bits of these readings are also being read, the extended resolution registers (register 0x76, regi ster 0x77) must be read first. once the extended resolution registers have been read, the associated msb reading registers are frozen until rea d. both the extended resolution registers and the msb registers are frozen. 2. if v ccp low (bit 7 of 0x40) is set, v ccp can control the sleep state of the adt7476a. 3. v cc (pin 4) is the supply voltage for the adt7476a. table 18. temperature reading registers (power ? on default = 0x80) (note 1. 2 and 3) register address r/w description 0x25 read ? only remote 1 temperature reading (note 3 and 4) (8 msbs of reading). 0x26 read ? only local temperature reading (8 msbs of reading). 0x27 read ? only remote 2 temperature reading (note 3 and 4) (8 msbs of reading). 1. if the extended resolution bits of these readings are also being read, the extended resolution registers (register 0x76, regi ster 0x77) must be read first. once the extended resolution registers have been read, all associated msb reading registers are frozen until rea d. both the extended resolution registers and the msb registers are frozen. 2. these temperature readings can be in twos complement or of fset 64 format; this interpretation is determined by bit 0 of confi guration register 5 (0x7c). 3. in twos complement mode, a temperature reading of ? 128 c (0x80) indicates a diode fault (open or short) on that channel. 4. in offset 64 mode, a temperature reading of ? 64 c (0x00) indicates a diode fault (open or short) on that channel.
adt7476a http://onsemi.com 51 table 19. fan tachometer reading registers (power ? on default = 0x00) (note 1) register address r/w description 0x28 read ? only tach1 low byte. 0x29 read ? only tach1 high byte. 0x2a read ? only tach2 low byte. 0x2b read ? only tach2 high byte. 0x2c read ? only tach3 low byte. 0x2d read ? only tach3 high byte. 0x2e read ? only tach4 low byte. 0x2f read ? only tach4 high byte. 1. these registers count the number of 11.11  s periods (based on an internal 90 khz clock) that occur between a number of consecutive fan tach pulses (default = 2). the number of tach pulses used to count can be changed using the tach pulses per revolution register (reg ister 0x7b). this allows the fan speed to be accurately measured. because a valid fan tachometer reading requires that two bytes be read, th e low byte must be read first. both the low and high bytes are then frozen un til read. at power-on, these registers contain 0x0000 until the fi rst valid fan tach measurement is read into these registers. this prevents false interrupts from occurri ng while the fans are spinning up. a count of 0xffff indicates that a fan is one of the following: stalled or blocked (object jamming the fan), failed (internal circuitry destroyed ), or not populated. (the adt7476a expects to see a fan connected to each tach. if a fan is not connected to that tach, its tach minimum high and low byt es should be set to 0xffff.) an alternate function, for example, is tach4 reconfigured as the therm pin. table 20. current pwm duty cycle registers (power ? on default = 0xff) (note 1) register address r/w description 0x30 r/w pwm1 current duty cycle (0% to 100% duty cycle = 0x00 to 0xff). 0x31 r/w pwm2 current duty cycle (0% to 100% duty cycle = 0x00 to 0xff). 0x32 r/w pwm3 current duty cycle (0% to 100% duty cycle = 0x00 to 0xff). 1. these registers reflect the pwm duty cycle driving each fan at any given time. when in automatic fan speed control mode, the adt7476a reports the pwm duty cycles back through these registers. the pwm duty cycle values vary according to temperature in automatic fan spee d control mode. during fan startup, these registers report back 0x00. in manual mode, the pwm duty cycle outputs can be set to any duty c ycle value by writing to these registers. table 21.pwm maximum duty cycle (power ? on default = 0xff) (note 1 and 2) register address r/w (note 2) description 0x38 r/w maximum duty cycle for pwm1 output, default = 100% (0xff). 0x39 r/w maximum duty cycle for pwm2 output, default = 100% (0xff). 0x3a r/w maximum duty cycle for pwm3 output, default = 100% (0xff). 1. these registers set the maximum pwm duty cycle of the pwm output. 2. this register becomes read-only when the configuration register 1 lock bit is set to 1. any subsequent attempts to write to this register fail.
adt7476a http://onsemi.com 52 table 22. register 0x40 ? configuration register 1 (power ? on default = 0x04) bit no. mnemonic r/w description [0] strt (notes 1, 2) read/write logic 1 enables monitoring and pwm control outputs based on the limit settings programmed. logic 0 disables monitoring and pwm control is based on the default powerup limit settings. note that the limit values programmed are preserved even if a logic 0 is written to this bit and the default settings are enabled. this bit does not become locked once bit 1 (lock bit) has been set. [1] lock write once logic 1 locks all limit values to their current settings. once this bit is set, all lockable registers become read-only and cannot be modified until the adt7476a is powered down and powered up again. this prevents rogue programs such as viruses from modifying critical system limit settings. (lockable.) [2] rdy read-only this bit is set to 1 by the adt7476a to indicate that the device is fully powered-up and ready to begin system monitoring. [3] fspd r/w when set to 1, this bit runs all fans at max speed as programmed in the max pwm current duty cycle registers (0x30 to 0x32). power-on default = 0. this bit is not locked at any time. [4] vx1 r/w bios should set this bit to a 1 when the adt7476a is configured to measure current from an adopt ? vrm controller and to measure the cpu?s core voltage. this bit allows monitoring software to display cpu watts usage. (lockable.) [5] fspdis r/w logic 1 disables fan spin-up for two tach pulses. instead, the pwm outputs go high for the entire fan spin-up timeout selected. [6] todis r/w when this bit is set to 1, the smbus timeout feature is enabled. in this state, if at any point during an smbus transaction involving the adt7476a activity ceases for more than 35 ms, the adt7476a assumes the bus is locked and releases the bus. this allows the adt7476a to be used with smbus controllers that cannot handle smbus timeouts. (lockable.) [7] reserved n/a reserved. do not write to this bit. 1. bit 0 (strt) of configuration register 1 (0x40) remains writable after lock bit is set. 2. when monitoring (strt) is disabled, pwm outputs always go to 100% for thermal protection. table 23. register 0x41 ? interrupt status register 1 (power ? on default = 0x00) bit no. mnemonic r/w description [0] 2.5 v/ therm read-only 2.5 v = 1 indicates that the 2.5 v high or low limit has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. if pin 22 is configured as therm , this bit is asserted when the timer limit has been exceeded. [1] v ccp read-only v ccp = 1 indicates that the v ccp high or low limit has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. [2] v cc read-only v cc = 1 indicates that the v cc high or low limit has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. [3] 5.0 v read-only a 1 indicates that the 5.0 v high or low limit has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. [4] r1t read-only r1t = 1 indicates that the remote 1 low or high temperature has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. [5] lt read-only lt = 1 indicates that the local low or high temperature has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. [6] r2t read-only r2t = 1 indicates that the remote 2 low or high temperature has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. [7] ool read-only ool = 1 indicates that an out-of-limit event has been latched in interrupt status register 2. this bit is a logical or of all status bits in interrupt status register 2. software can test this bit in isolation to determine whether any of the voltage, temperature, or fan speed readings represented by interrupt status register 2 are out-of-limit, which eliminates the need to read interrupt status register 2 during every interrupt or polling cycle.
adt7476a http://onsemi.com 53 table 24. register 0x42 ? interrupt status register 2 (power ? on default = 0x00) bit no. mnemonic r/w description [0] 12 v/vc read-only a 1 indicates that the 12 v high or low limit has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. if pin 21 is configured as vid5, this bit is the vid change bit. this bit is set when the levels on vid0 to vid5 are different than they were 11  s previously. this pin can be used to generate an smbalert whenever the vid code changes. [1] ovt read-only ovt = 1 indicates that one of the therm overtemperature limits has been exceeded. this bit is cleared on a read of the status register when the temperature drops below therm ? t hyst . [2] fan1 read-only fan1 = 1 indicates that fan 1 has dropped below minimum speed or has stalled. this bit is not set when the pwm1 output is off. [3] fan2 read-only fan2 = 1 indicates that fan 2 has dropped below minimum speed or has stalled. this bit is not set when the pwm2 output is off. [4] fan3 read-only fan3 = 1 indicates that fan 3 has dropped below minimum speed or has stalled. this bit is not set when the pwm3 output is off. [5] f4p read-only when pin 14 is programmed as a tach4 input, f4p = 1 indicates that fan 4 has dropped below minimum speed or has stalled. this bit is not set when the pwm3 output is off. r/w when pin 14 is programmed as the gpio6 output, writing to this bit determines the logic output of gpio6. when gpio6 is programmed as an input, this bit reflects the value read by gpio6. read-only if pin 14 is configured as the therm timer input for therm monitoring, then this bit is set when the therm assertion time exceeds the limit programmed in the therm timer limit register (0x7a). [6] d1 read-only d1 = 1 indicates either an open or short circuit on the thermal diode 1 inputs. [7] d2 read-only d2 = 1 indicates either an open or short circuit on the thermal diode 2 inputs. table 25. register 0x43 ? vid/gpio register (power ? on default = 0x1f) bit no. mnemonic r/w description [4:0] vid[4:0]/ gpio[4:0] r/w the vid[4:0] inputs from the cpu indicate the expected processor core voltage. on powerup, these bits reflect the state of the vid pins, even if monitoring is not enabled. when bit 4 of configuration register 5 (0x7c) = 1, these bits become general-purpose outputs. the state of these bits then reflects the state of the appropriate gpio pin. [5] vid5 r/w reads vid5 from the cpu when bit 7 = 1. if bit 7 = 0, the vid5 bit always reads back 0 (power-on default). [6] thld r/w selects the input switching threshold for the vid inputs. thld = 0 selects a threshold of 1 v (v ol < 0.8 v, v ih > 1.7 v). thld = 1 lowers the switching threshold to 0.6 v (v ol < 0.4 v, v ih > 0.8 v). [7] vidsel r/w vidsel = 0 configures pin 21 as the 12 v measurement input (default). table 26. voltage limit registers (note 1) register address r/w description (note 2) power ? on default 0x44 r/w 2.5 v low limit. 0x00 0x45 r/w 2.5 v high limit. 0xff 0x46 r/w v ccp low limit. 0x00 0x47 r/w v ccp high limit. 0xff 0x48 r/w v cc low limit. 0x00 0x49 r/w v cc high limit. 0xff 0x4a r/w 5.0 v low limit. 0x00 0x4b r/w 5.0 v high limit. 0xff 0x4c r/w 12 v low limit. 0x00 0x4d r/w 12 v high limit. 0xff 1. setting the configuration register 1 lock bit has no effect on these registers. 2. high limits: an interrupt is generated when a value exceeds its high limit (> comparison). low limits: an interrupt is genera ted when a value is equal to or below its low limit ( comparison).
adt7476a http://onsemi.com 54 table 27. temperature limit registers (note 1) register address r/w description (note 2) power ? on default 0x4e r/w remote 1 temperature low limit. 0x81 0x4f r/w remote 1 temperature high limit. 0x7f 0x50 r/w local temperature low limit. 0x81 0x51 r/w local temperature high limit. 0x7f 0x52 r/w remote 2 temperature low limit. 0x81 0x53 r/w remote 2 temperature high limit. 0x7f 1. exceeding any of these temperature limits by 1 c causes the appropriate status bit to be set in the interrupt status register. setting the configuration register 1 lock bit has no effect on these registers. 2. high limits: an interrupt is generated when a value exceeds its high limit (> comparison). low limits: an interrupt is genera ted when a value is equal to or below its low limit ( comparison). table 28. fan tach limit registers (note 1) register address r/w description power ? on default 0x54 r/w tach1 minimum low byte. 0xff 0x55 r/w tach1 minimum high byte/single-channel adc channel select. 0xff 0x56 r/w tach2 minimum low byte. 0xff 0x57 r/w tach2 minimum high byte. 0xff 0x58 r/w tach3 minimum low byte. 0xff 0x59 r/w tach3 minimum high byte. 0xff 0x5a r/w tach4 minimum low byte. 0xff 0x5b r/w tach4 minimum high byte. 0xff 1. exceeding any of the tach limit registers by 1 indicates that the fan is running too slowly or has stalled. the appropriate s tatus bit is set in interrupt status register 2 to indicate the fan failure. setting the configuration register 1 lock bit has no effect on thes e registers. table 29. register 0x55 ? tach1 minimum high byte (power ? on default = 0xff) bit no. mnemonic r/w description [4:0] reserved read ? only when bit 6 of configuration 2 register (0x73) is set (single ? channel adc mode), these bits are reserved. otherwise, these bits represent bits [4:0] of the tach1 minimum high byte. [7:5] scadc r/w when bit 6 of configuration 2 register (0x73) is set (single ? channel adc mode), these bits are used to select the only channel from which the adc will take measurements. otherwise, these bits represent bits [7:5] of the tach1 minimum high byte.
adt7476a http://onsemi.com 55 table 30. pwm configuration registers register address r/w (note 1) description power ? on default 0x5c r/w pwm1 configuration 0x62 0x5d r/w pwm2 configuration 0x62 0x5e r/w pwm3 configuration 0x62 bit no. name r/w description [2:0] spin r/w these bits control the startup timeout for pwmx. the pwm output stays high until two valid tach rising edges are seen from the fan. if there is not a valid tach signal during the fan tach measurement directly after the fan startup timeout period, the tach measurement reads 0xffff and interrupt status register 2 reflects the fan fault. if the tach minimum high and low bytes contain 0xffff or 0x0000, the interrupt status register 2 bit is not set, even if the fan has not started. 000 = no startup timeout 001 = 100 ms 010 = 250 ms (default) 011 = 400 ms 100 = 667 ms 101 = 1 sec 110 = 2 sec 111 = 4 sec [3] res n/a reserved. do not write to this bit. [4] inv r/w this bit inverts the pwm output. the default is 0, which corresponds to a logic high output for 100% duty cycle. setting this bit to 1 inverts the pwm output, so 100% duty cycle corresponds to a logic low output. [7:5] bhvr r/w these bits assign each fan to a particular temperature sensor for localized cooling. 000 = remote 1 temperature controls pwmx (automatic fan control mode). 001 = local temperature controls pwmx (automatic fan control mode). 010 = remote 2 temperature controls pwmx (automatic fan control mode). 011 = pwmx runs full speed (default). 100 = pwmx disabled. 101 = fastest speed calculated by local and remote 2 temperature controls pwmx. 110 = fastest speed calculated by all three temperature channel controls pwmx. 111 = manual mode. pwm current duty cycle registers (0x30 to 0x32) become writable. 1. these registers become read-only when the configuration register 1 lock bit is set to 1. any subsequent attempts to write to these registers fail.
adt7476a http://onsemi.com 56 table 31. t range /pwm frequency registers register address r/w (note 1) description power ? on default 0x5f r/w remote 1 t range /pwm1 frequency. 0xc4 0x60 r/w local t range /pwm2 frequency. 0xc4 0x61 r/w remote 2 t range /pwm3 frequency. 0xc4 bit no. name r/w description [2:0] freq r/w these bits control the pwmx frequency (only apply when pwm channel is in low frequency mode). 000 = 11.0 hz 001 = 14.7 hz 010 = 22.1 hz 011 = 29.4 hz 100 = 35.3 hz (default) 101 = 44.1 hz 110 = 58.8 hz 111 = 88.2 hz [3] hf/lr r/w hf/lf = 1, high frequency pwm mode is enabled for pwmx. hf/lf = 0, low frequency pwm mode is enabled for pwmx. [7:4] range r/w these bits determine the pwm duty cycle vs. the temperature range for automatic fan control. 0000 = 2 c 0001 = 2.5 c 0010 = 3.33 c 0011 = 4 c 0100 = 5 c 0101 = 6.67 c 0110 = 8 c 0111 = 10 c 1000 = 13.33 c 1001 = 16 c 1010 = 20 c 1011 = 26.67 c 1100 = 32 c (default) 1101 = 40 c 1110 = 53.33 c 1111 = 80 c 1. these registers become read-only when the configuration register 1 lock bit is set. any further attempts to write to these re gisters have no effect.
adt7476a http://onsemi.com 57 table 32. register 0x62 ? enhanced acoustics register 1 (power ? on default = 0x00) bit no. mnemonic r/w (note 1) description [2:0] acou (note 2) r/w assuming that pwmx is associated with the remote 1 temperature channel, these bits define the maximum rate of change of the pwmx output for remote 1 temperature ? related changes. instead of the fan speed jumping instantaneously to its newly determined speed, it ramps gracefully at the rate determined by these bi ts. this feature ultimately enhances the acoustics of the fan. when bit 7 of configuration register 6 (0x10) is 0 time slot increase time for 0% to 100% 000 = 1 001 = 2 010 = 3 011 = 4 100 = 8 101 = 12 110 = 24 111 = 48 37.5 sec 18.8 sec 12.5 sec 7.5 sec 4.7 sec 3.1 sec 1.6 sec 0.8 sec when bit 7 of configuration register 6 (0x10) is 1 time slot increase time for 0% to 100% 000 = 1 001 = 2 010 = 3 011 = 4 100 = 8 101 = 12 110 = 24 111 = 48 52.2 sec 26.1 sec 17.4 sec 10.4 sec 6.5 sec 4.4 sec 2.2 sec 1.1 sec [3] en1 r/w when this bit is 1, smoothing is enabled on remote 1 temperature channel. [4] sync r/w sync = 1 synchronizes fan speed measurements on tach2, tach3, and tach4 to pwm3. this allows up to three fans to be driven fr om pwm3 output and their speeds to be measured. sync = 0 synchronizes only tach3 and tach4 to pwm3 output. [5] min1 r/w when the adt7476a is in automatic fan control mode, this bit defines whether pwm1 is off (0% duty cycle) or at pwm1 minimum duty cycle when the controlling temperature is below its t min ? hysteresis value. 0 = 0% duty cycle below t min ? hysteresis. 1 = pwm1 minimum duty cycle below t min ? hysteresis. [6] min2 r/w when the adt7476a is in automatic fan speed control mode, this bit defines whether pwm2 is off (0% duty cycle) or at pwm2 minimum duty cycle when the controlling temperature is below its t min ? hysteresis value. 0 = 0% duty cycle below t min ? hysteresis. 1 = pwm2 minimum duty cycle below t min ? hysteresis. [7] min3 r/w when the adt7476a is in automatic fan speed control mode, this bit defines whether pwm3 is off (0% duty cycle) or at pwm3 minimum duty cycle when the controlling temperature is below its t min ? hysteresis value. 0 = 0% duty cycle below t min ? hysteresis. 1 = pwm3 minimum duty cycle below t min ? hysteresis. 1. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this register have no effect. 2. setting the relevant bit of configuration register 6 (0x10, [2:0]) further decreases these ramp rates by a factor of 4.
adt7476a http://onsemi.com 58 table 33. register 0x63 ? enhanced acoustics register 2 (power ? on default = 0x00) bit no. mnemonic r/w (note 1) description [2:0] acou3 r/w assuming that pwmx is associated with the local temperature channel, these bits define the maximum rate of change of the pwmx output for local temperature ? related changes. instead of the fan speed jumping instantaneously to its newly determined speed, it ramps gracefully at the rate determined by these bits. this feature ultimately enhances the acoustics of the fan. when bit 7 of configuration register 6 (0x10) is 0 time slot increase time for 0% to 100% 000 = 1 001 = 2 010 = 3 011 = 4 100 = 8 101 = 12 110 = 24 111 = 48 37.5 sec 18.8 sec 12.5 sec 7.5 sec 4.7 sec 3.1 sec 1.6 sec 0.8 sec when bit 7 of configuration register 6 (0x10) is 1 time slot increase time for 0% to 100% 000 = 1 001 = 2 010 = 3 011 = 4 100 = 8 101 = 12 110 = 24 111 = 48 52.2 sec 26.1 sec 17.4 sec 10.4 sec 6.5 sec 4.4 sec 2.2 sec 1.1 sec [3] en3 r/w when this bit is 1, smoothing is enabled on the local temperature channel. [6:4] acou2 r/w assuming that pwmx is associated with the remote 2 temperature channel, these bits define the maximum rate of change of the pwmx output for remote 2 temperature related changes. instead of the fan speed jumping instantaneously to its newly determined speed, it ramps gracefully at the rate determined by these bits. this feature ultimately enhances the acoustics of the fan. [2:0] acou3 r/w when bit 7 of configuration register 6 (0x10) is 0 time slot increase time for 0% to 100% 000 = 1 001 = 2 010 = 3 011 = 4 100 = 8 101 = 12 110 = 24 111 = 48 37.5 sec 18.8 sec 12.5 sec 7.5 sec 4.7 sec 3.1 sec 1.6 sec 0.8 sec when bit 7 of configuration register 6 (0x10) is 1 time slot increase time for 0% to 100% 000 = 1 001 = 2 010 = 3 011 = 4 100 = 8 101 = 12 110 = 24 111 = 48 52.2 sec 26.1 sec 17.4 sec 10.4 sec 6.5 sec 4.4 sec 2.2 sec 1.1 sec [7] en2 r/w when this bit is 1, smoothing is enabled on the remote 2 temperature channel. 1. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this register have no effect.
adt7476a http://onsemi.com 59 table 34. pwm minimum duty cycle registers register address r/w (note 1) description power ? on default 0x64 r/w pwm1 minimum duty cycle. 0x80 (50% duty cycle) 0x65 r/w pwm2 minimum duty cycle. 0x80 (50% duty cycle) 0x66 r/w pwm3 minimum duty cycle. 0x80 (50% duty cycle) bit no. name r/w description [7:0] pwm duty cycle r/w these bits define the pwm min duty cycle for pwmx. 0x00 = 0% duty cycle (fan off). 0x40 = 25% duty cycle. 0x80 = 50% duty cycle. 0xff = 100% duty cycle (fan full speed). 1. these registers become read-only when the adt7476a is in automatic fan control mode. table 35. t min registers (note 1) register address r/w (note 2) description power ? on default 0x67 r/w remote 1 temperature t min . 0x5a (90 c) 0x68 r/w local temperature t min . 0x5a (90 c) 0x69 r/w remote 2 temperature t min . 0x5a (90 c) 1. these are the t min registers for each temperature channel. when the temperature measured exceeds t min , the appropriate fan runs at minimum speed and increases with temperature according to t range . 2. these registers become read-only when the configuration register 1lock bit is set. any further attempts to write to these reg isters have no effect. table 36. therm limit registers (note 1) register address r/w (note 2) description power ? on default 0x6a r/w remote 1 therm temperature limit. 0x64 (100 c) 0x6b r/w local therm temperature limit. 0x64 (100 c) 0x6c r/w remote 2 therm temperature limit. 0x64 (100 c) 1. if any temperature measured exceeds its therm limit, all pwm outputs drive their fans at 100% duty cycle. this is a fail-safe mechanism incorporated to cool the system in the event of a critical overtemperature. it also ensures some level of cooling in the event that software or hardware locks up. if set to 0x80, this feature is disabled. the pwm output remains at 100% until the temperature drops belo w therm limit ? hysteresis. if the therm pin is programmed as an output, exceeding these limits by 0.25 c can cause the therm pin to assert low as an output. 2. these registers become read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to these regis ters have no effect. table 37. temperature/t min hysteresis registers (note 1) register address r/w (note 2) description power ? on default 0x6d r/w remote 1 and local temperature hysteresis. 0x44 [3:0] hysl local temperature hysteresis. 0 c to 15 c of hysteresis can be applied to the local temperature afc control loops. [7:4] hysr1 remote 1 temperature hysteresis. 0 c to 15 c of hyster- esis can be applied to the remote 1 temperature afc control loops. 0x6e r/w remote 2 temperature hysteresis. 0x40 0x6e hysr2 local temperature hysteresis. 0 c to 15 c of hysteresis can be applied to the local temperature afc control loops. 1. each 4-bit value controls the amount of temperature hysteresis applied to a particular temperature channel. once the temperat ure for that channel falls below its t min value, the fan remains running at pwm min duty cycle until the temperature = t min ? hysteresis. up to 15 c of hysteresis can be assigned to any temperature channel. the hysteresis value chosen also applies to that temperature channel if its therm limit is exceeded. the pwm output being controlled goes to 100% if the therm limit is exceeded and remains at 100% until the temperature drops below therm ? hysteresis. for acoustic reasons, it is recommended that the hysteresis value not be programmed less than 4 c. setting the hysteresis value lower than 4 c causes the fan to switch on and off regularly when the temperature is close to t min . 2. these registers become read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to these regis ters have no effect.
adt7476a http://onsemi.com 60 table 38. xnor tree test enable register address r/w (note 1) description power ? on default 0x6f r/w xnor tree test enable register. 0x00 [0] xen if the xen bit is set to 1, the device enters the xnor tree test mode. clearing the bit removes the device from the xnor tree test mode. [7:1] reserved unused. do not write to these bits. 1. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this register have no effect. table 39. remote 1 temperature offset (note 1) register address r/w (note 1) description power ? on default 0x70 r/w remote 1 temperature offset. 0x00 [7:0] r/w allows a temperature offset to be automatically applied to the remote temperature 1 channel measurement. bit 1 of configuration register 5 (0x7c) determines the range and resolution of this register. 1. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this register have no effect. table 40. local temperature offset (note 1) register address r/w (note 1) description power ? on default 0x71 r/w local temperature offset. 0x00 [7:0] r/w allows a temperature offset to be automatically applied to the local temperature measurement. bit 1 of configuration register 5 (0x7c) determines the range and resolution of this register. 1. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this register have no effect. table 41. remote 2 temperature offset (note 1) register address r/w (note 1) description power ? on default 0x72 r/w remote 2 temperature offset. 0x00 [7:0] r/w allows a temperature offset to be automatically applied to the remote temperature 2 channel measurement. bit 1 of configuration register 5 (0x7c) determines the range and resolution of this register. 1. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this register have no effect.
adt7476a http://onsemi.com 61 table 42. register 0x73 ? configuration register 2 (power ? on default = 0x00) (note 1) bit no. mnemonic r/w (note 1) description 0 fanpresdt r/w when fanpresencedt = 1, the state of bits [3:1] of 0x73 reflects the presence of a 4 ? wire fan on the appropriate tach channel. 1 fan1detect read ? only fan1detect = 1 indicates that a 4 ? wire fan is connected to the tach1 input. 2 fan2detect read ? only fan2detect = 1 indicates that a 4 ? wire fan is connected to the tach2 input. 3 fan3detect read ? only fan3detect = 1 indicates that a 4 ? wire fan is connected to the tach3 input. 4 avg r/w avg = 1 indicates that averaging on the temperature and voltage measurements is turned off. this allows measurements on each channel to be made much faster (x16). 5 attn r/w attn = 1 indicates that the adt7476a removes the attenuators from the +2.5 v in , v ccp , +5.0 v in , and +12 v in inputs. these inputs can be used for other functions such as connecting up external sensors. it is also possible to remove attenuators from individual channels using bits [7:4] of configuration register 4 (0x7d). 6 conv r/w conv = 1 indicates that the adt7476a is put into a single ? channel adc conversion mode. in this mode, the adt7476a can be made to read continuously from one input only, for example, remote 1 temperature. the appropriate adc channel is selected by writing to bits [7:5] of tach1 minimum high byte register (0x55). bits [7:5], register 0x55 000 001 010 011 100 101 110 111 2.5 v v ccp v cc (3.3 v) 5.0 v 12 v remote 1 temperature local temperature remote 2 temperature 7 res this bit is reserved and should not be changed. 1. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this register have no effect. table 43. register 0x74 ? interrupt mask register 1 (power ? on default [7:0] = 0x00) bit no. mnemonic r/w description [0] 2.5 v/ therm r/w 2.5 v/therm = 1 masks smbalert for out ? of ? limit conditions on the 2.5 v/therm timer channel. [1] v ccp r/w v ccp = 1 masks smbalert for out ? of ? limit conditions on the v ccp channel. [2] v cc r/w v cc = 1 masks smbalert for out ? of ? limit conditions on the v cc channel. [3] 5.0 v r/w 5.0 v = 1 masks smbalert for out ? of ? limit conditions on the 5.0 v channel. [4] r1t r/w r1t = 1 masks smbalert for out ? of ? limit conditions on the remote 1 temperature channel. [5] lt r/w lt = 1 masks smbalert for out ? of ? limit conditions on the local temperature channel. [6] r2t r/w r2t = 1 masks smbalert for out ? of ? limit conditions on the remote 2 temperature channel. [7] ool r/w ool = 0 when one or more alerts are generated in interrupt status register 2, assuming all the mask bits in the interrupt mask register 2 (0x75) =1, smbalert is still asserted. ool = 1 when one or more alerts are generated in interrupt status register 2, assuming all the mask bits in the interrupt mask register 2 (0x75) =1, smbalert is not asserted.
adt7476a http://onsemi.com 62 table 44. register 0x75 ? interrupt mask register 2 (power ? on default [7:0] = 0x00) bit no. mnemonic r/w description [0] 12 v/vc r/w when pin 21 is configured as a 12 v input, 12 v/vc = 1 masks smbalert for out-of-limit conditions on the 12 v channel. when pin 21 is programmed as vid5, this bit masks an smbalert , if the vid5 vid code bit changes. [1] ovt r/w ovt = 1 masks smbalert for overtemperature therm conditions. [2] fan1 r/w fan1 = 1 masks smbalert for a fan 1 fault. [3] fan2 r/w fan2 = 1 masks smbalert for a fan 2 fault. [4] fan3 r/w fan3 = 1 masks smbalert for a fan 3 fault. [5] f4p r/w if pin 14 is configured as tach4, f4p = 1 masks smbalert for a fan 4 fault. if pin 14 is configured as therm , f4p = 1 masks smbalert for an exceeded therm timer limit. if pin 14 is configured as gpio, f4p = 1 masks smbalert when gpio is an input and gpio is asserted. [6] d1 r/w d1 = 1 masks smbalert for a diode open or short on a remote 1 channel. [7] d2 r/w d2 = 1 masks smbalert for a diode open or short on a remote 2 channel. table 45. register 0x76 ? extended resolution register 1 (power ? on default [7:0] = 0x00) (note 1) bit no. mnemonic r/w description [1:0] 2.5 v read ? only 2.5 v lsbs. holds the 2 lsbs of the 10 ? bit 2.5 v measurement. [3:2] v ccp read ? only v ccp lsbs. holds the 2 lsbs of the 10 ? bit v ccp measurement. [5:4] v cc read ? only v cc lsbs. holds the 2 lsbs of the 10 ? bit v cc measurement. [7:6] 5.0 v read ? only 5.0 v lsbs. holds the 2 lsbs of the 10 ? bit 5.0 v measurement. 1. if this register is read, this register and the registers holding the msb of each reading are frozen until read. table 46. register 0x77 ? extended resolution register 2 (power ? on default [7:0] = 0x00) (note 1) bit no. mnemonic r/w description [1:0] 12 v read ? only 12 v lsbs. holds the 2 lsbs of the 10 ? bit 12 v measurement. [3:2] tdm1 read ? only remote 1 temperature lsbs. holds the 2 lsbs of the 10 ? bit remote 1 temperature measurement. [5:4] ltmp read ? only local temperature lsbs. holds the 2 lsbs of the 10 ? bit local temperature measurement. [7:6] tdm2 read ? only remote 2 temperature lsbs. holds the 2 lsbs of the 10 ? bit remote 2 temperature measurement. 1. if this register is read, this register and the registers holding the msb of each reading are frozen until read.
adt7476a http://onsemi.com 63 table 47. register 0x78 ? configuration register 3 (power ? on default = 0x00) bit no. mnemonic r/w (note 1) description [0] alert r/w alert = 1, pin 10 (pwm2/ smbalert ) is configured as an smbalert interrupt output to indicate out ? of ? limit error conditions. alert = 0, pin 10 (pwm2/ smbalert ) is configured as the pwm2 output. [1] therm / 2.5v r/w therm = 1 enables therm functionality on pin 22 and pin 14, if pin 14 is configured as therm , determined by bits 0 and 1 (pin14func) of configuration register 4. when therm is asserted, if the fans are running and the boost bit is set, then the fans run at full speed. alternatively, therm can be programmed so that a timer is triggered to time how long therm has been asserted. therm = 0 enables 2.5v measurement on pin 22 and disables therm . if bits [5:7] of configuration register 5 are set, therm is bidirectional. if they are 0, therm is a timer input only. pin14func therm /2.5 v pin 22 pin 14 00 01 10 11 00 01 10 11 0 0 0 0 1 1 1 1 +2.5 v in +2.5 v in +2.5 v in +2.5 v in therm +2.5 v in therm therm tach4 therm smbalert gpio6 tach4 therm smbalert gpio6 [2] boost r/w when therm is an input and boost = 1, assertion of therm causes all fans to run at the maximum programmed duty cycle for fail ? safe cooling. [3] fast r/w fast = 1 enables fast tach measurements on all channels. this increases the tach measurement rate from once per second to once every 250 ms (4x). [4] dc1 r/w dc1 = 1 enables tach measurements to be continuously made on tach1. fans must be driven by dc. setting this bit prevents pulse stretching because it is not required for dc ? driven motors. [5] dc2 r/w dc2 = 1 enables tach measurements to be continuously made on tach2. fans must be driven by dc. setting this bit prevents pulse stretching because it is not required for dc ? driven motors. [6] dc3 r/w dc3 = 1 enables tach measurements to be continuously made on tach3. fans must be driven by dc. setting this bit prevents pulse stretching because it is not required for dc ? driven motors. [7] dc4 r/w dc4 = 1 enables tach measurements to be continuously made on tach4. fans must be driven by dc. setting this bit prevents pulse stretching because it is not required for dc ? driven motors. 1. this register become read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to to th is register have no effect. table 48. register 0x79 ? therm timer status register (power ? on default = 0x00) bit no. mnemonic r/w description [7:1] tmr read ? only times how long therm input is asserted. these seven bits read 0 until the therm assertion time exceeds 45.52 ms. [0] asrt/ tmr0 read ? only this bit is set high on the assertion of the therm input and is cleared on read. if the therm assertion time exceeds 45.52 ms, this bit is set and becomes the lsb of the 8 ? bit tmr reading. this allows therm assertion times from 45.52 ms to 5.82 sec to be reported back with a resolution of 22.76 ms. table 49. register 0x7a ? therm timer limit register (power ? on default = 0x00) bit no. mnemonic r/w description [7:0] limt r/w sets maximum therm assertion length allowed before an interrupt is generated. this is an 8-bit limit with a resolution of 22.76 ms allowing therm assertion limits of 45.52 ms to 5.82 sec to be programmed. if the therm assertion time exceeds this limit, bit 5 (f4p) of interrupt status register 2 (0x42) is set. if the limit value is 0x00, an interrupt is generated immediately on the assertion of the therm input.
adt7476a http://onsemi.com 64 table 50. register 0x7b ? tach pulses per revolution register (power ? on default = 0x55) bit no. mnemonic r/w description [1:0] fan1 r/w sets number of pulses to be counted when measuring fan 1 speed. can be used to determine fan pulses per revolution for unknown fan type. pulses counted 00 = 1 01 = 2 (default) 10 = 3 11 = 4 [3:2] fan2 r/w sets number of pulses to be counted when measuring fan 2 speed. can be used to determine fan pulses per revolution for unknown fan type. pulses counted 00 = 1 01 = 2 (default) 10 = 3 11 = 4 [5:4] fan3 r/w sets number of pulses to be counted when measuring fan 3 speed. can be used to determine fan pulses per revolution for unknown fan type. pulses counted 00 = 1 01 = 2 (default) 10 = 3 11 = 4 [7:6] fan4 r/w sets number of pulses to be counted when measuring fan 4 speed. can be used to determine fan pulses per revolution for unknown fan type. pulses counted 00 = 1 01 = 2 (default) 10 = 3 11 = 4
adt7476a http://onsemi.com 65 table 51. register 0x7c ? configuration register 5 (power ? on default = 0x01) bit no. mnemonic r/w (note 1) description [0] 2sc r/w 2sc = 1 sets the temperature range to the twos complement temperature range. 2sc = 0 changes the temperature range to the of fset 64 temperature range. when this bit is changed, the adt7476a interprets all relevant temperature register values as defined by this bit. [1] temp offset r/w tempoffset = 0 sets offset range to ? 63 c to +64 c with 0.5 c resolution. tempoffset = 1 sets offset range to ? 63 c to +127 c with 1 c resolution. these settings apply to remote 1, local, and remote2 temperature offset registers (0x70, 0x71, and 0x72). [2] gpio6d r/w gpio6 direction. when gpio6 function is enabled, this determines whether gpio6 is an input (0) or an output (1). [3] gpio6p r/w gpio6 polarity. when the gpio6 function is enabled and is programmed as an output, this bit determines whether the gpio6 is active low (0) or high (1). [4] vid/gpio r/w vid/gpio = 0 enables vid functionality on pin 5, pin 6, pin 7, pin 8, and pin 19. vid/gpio = 1 enables gpio functionality on pin 5, pin 6, pin 7, pin 8, and pin 19. [5] r1 therm r/w r1 therm = 1 enables therm temperature limit functionality for remote 1 temperature channel; that is, therm is bidirectional. r1 therm = 0 indicates therm is a timer input only. therm can also be disabled on any channel by: writing ? 64 c to the appropriate therm temperature limit in offset 64 mode. writing ? 128 c to the appropriate therm temperature limit in twos complement mode. [6] local therm r/w local therm = 1 enables therm temperature limit functionality for local temperature channel; that is, therm is bidirectional. local therm = 0 indicates therm is a timer input only. therm can also be disabled on any channel by: writing ? 64 c to the appropriate therm temperature limit in offset 64 mode. writing ? 128 c to the appropriate therm temperature limit in twos complement mode. [7] r2 therm r/w r2 therm = 1 enables therm temperature limit functionality for remote 2 temperature channel; that is, therm is bidirectional. r2 therm = 0 indicates therm is a timer input only.therm can also be disabled on any channel by: writing ? 64 c to the appropriate therm temperature limit in offset 64 mode. writing ? 128 c to the appropriate therm temperature limit in twos complement mode. 1. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this register have no effect. table 52. register 0x7d ? configuration register 4 (power ? on default = 0x00) bit no. mnemonic r/w (note 1) description [1:0] pin14func r/w these bits set the functionality of pin 14. 00 = tach4 (default) 01 = therm 10 = smbalert 11 = gpio [2] therm disable r/w therm disable = 0 enables therm overtemperature output assuming therm is correctly configured (registers 0x78, 0x7c, and 0x7d). therm disable = 1 disables therm overtemperature output on all channels. therm can also be disabled on any channel by: writing ? 64 c to the appropriate therm temperature limit in offset 64 mode. writing ? 128 c to the appropriate therm temperature limit in twos complement mode. [3] maxspeed therm r/w maxspeed on therm = 0 indicates that fans go to full speed when therm temperature limit is exceeded. maxspeed on therm = 1 indicates that fans go to max speed (0x38, 0x39, 0x3a) when therm temperature limit is exceeded. [4] bpatt 2.5 v r/w bypass 2.5v attenuator. when set, the measurement scale for this channel changes from 0 v (0x00) to 2.25 v (0xff). [5] bpatt v ccp r/w bypass v ccp attenuator. when set, the measurement scale for this channel changes from 0 v (0x00) to 2.25 v (0xff). [6] bpatt 5.0 v r/w bypass 5.0 v attenuator. when set, the measurement scale for this channel changes from 0 v (0x00) to 2.25 v (0xff). [7] bpatt 12 v r/w bypass 12 v attenuator. when set, the measurement scale for this channel changes from 0 v (0x00) to 2.25 v (0xff). 1. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this register have no effect.
adt7476a http://onsemi.com 66 table 53. register 0x7e ? manufacturer?s test register 1 (power ? on default = 0x00) bit no. mnemonic r/w description [7:0] reserved read ? only manufacturer?s test register. these bits are reserved for manufacturer?s test purposes and should not be written to under normal operation. table 54. register 0x7f ? manufacturer?s test register 2 (power ? on default = 0x00) bit no. mnemonic r/w description [7:0] reserved read ? only manufacturer?s test register. these bits are reserved for manufacturer?s test purposes and should not be written to under normal operation. ordering information device order number* package type package option shipping ? adt7476aarqz 24-lead qsop rq ? 24 56 tube adt7476aarqz-r 2500 tape & reel ADT7476AARQZ-RL7 1000 tape & reel ?for information on tape and reel specifications, including part orientation and tape sizes, please refer to our tape and reel packaging specifications brochure, brd8011/d. *these are pb ? free packages.
adt7476a http://onsemi.com 67 package dimensions qsop24 nb case 492b ? 01 issue a *for additional information on our pb ? free strategy and soldering details, please download the on semiconductor soldering and mounting techniques reference manual, solderrm/d. soldering footprint* e m 0.25 c a1 a c detail a detail a h x 45  dim max min millimeters a 1.35 1.75 b 0.20 0.30 l 0.40 1.27 e 0.635 bsc h 0.22 0.50 c 0.19 0.25 a1 0.10 0.25 m 0 8 notes: 1. dimensioning and tolerancing per asme y14.5m, 1994. 2. controlling dimension: millimeters. 3. dimension b does not include dambar protrusion. 4. dimension d does not include mold flash, protrusions, or gate burrs. mold flash, protrusions, or gate burrs shall not exceed 0.15 per side. dimension e1 does not include interlead flash or protrusion. interlead flash or protrusion shall not exceed 0.15 per side. d and e1 are determined at datum h. 5. datums a and b are determined at datum h.  b l d d 24x seating plane 0.10 c e1 a a-b d 0.20 c e 112 24 13 24x c m d 8.65 bsc e 6.00 bsc e1 3.90 bsc l2 0.25 bsc d 0.25 c d b 0.20 c d 2x 2x 2x 12 tips 0.10 c h l2 gauge plane c 6.40 24x 0.42 24x 1.12 0.635 dimensions: millimeters 24 pitch 13 112 on semiconductor and are registered trademarks of semiconductor components industries, llc (scillc). scillc reserves the right to mak e changes without further notice to any products herein. scillc makes no warranty, representation or guarantee regarding the suitability of its products for an y particular purpose, nor does scillc assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including wi thout limitation special, consequential or incidental damages. ?typical? parameters which may be provided in scillc data sheets and/or specifications can and do vary in different application s and actual performance may vary over time. all operating parameters, including ?typicals? must be validated for each customer application by customer?s technical experts. scillc does not convey any license under its patent rights nor the rights of others. scillc products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the scillc product could create a sit uation where personal injury or death may occur. should buyer purchase or use scillc products for any such unintended or unauthorized application, buyer shall indemnify and hold scillc and its of ficers, employees, subsidiaries, af filiates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, direct ly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that scillc was negligent regarding the design or manufacture of the part. scillc is an equal opportunity/affirmative action employer. this literature is subject to all applicable copyright laws and is not for resale in any manner. publication ordering information n. american technical support : 800 ? 282 ? 9855 toll free usa/canada europe, middle east and africa technical support: phone: 421 33 790 2910 japan customer focus center phone: 81 ? 3 ? 5773 ? 3850 adt7476a/d dbcool is a registered trademarks of semiconductor components industries, llc (scillc). pentium is a registered trademark of in tel corporation. literature fulfillment : literature distribution center for on semiconductor p.o. box 5163, denver, colorado 80217 usa phone : 303 ? 675 ? 2175 or 800 ? 344 ? 3860 toll free usa/canada fax : 303 ? 675 ? 2176 or 800 ? 344 ? 3867 toll free usa/canada email : orderlit@onsemi.com on semiconductor website : www.onsemi.com order literature : http://www.onsemi.com/orderlit for additional information, please contact your local sales representative


▲Up To Search▲   

 
Price & Availability of ADT7476AARQZ-RL7

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X